[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:
Anthony Latsis
2023-02-05 11:56:31 +03:00
committed by GitHub
parent a81b0b6b9e
commit 43f9869e95

View File

@@ -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.