mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[docs] FAQ: Fix hardcoded arch in suggested build-script option.
Plus a minor spelling correction and rephrasing that makes more sense.
This commit is contained in:
@@ -18,9 +18,9 @@ The general idea is to build as little as you can.
|
||||
aren't doing so already.
|
||||
- Use `build-script`'s various `--skip-*` flags to skip configuring for
|
||||
platforms that you do not care about.
|
||||
- If you're on macOS, use `--swift-darwin-supported-archs="x86_64"`.
|
||||
- Use a release build without assertions (`--release --no-assertions`).
|
||||
While debuginfo and assertions are valuable to enable when working on the
|
||||
- If you're on macOS, use `--swift-darwin-supported-archs "$(uname -m)"`.
|
||||
- Build the release variant without assertions (`--release --no-assertions`).
|
||||
While debug info and assertions are valuable to enable when working on the
|
||||
toolchain itself, they are not so useful if you are working only on changes
|
||||
to the build system.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user