Skip to content

Commit ff2bed2

Browse files
Merge pull request #63439 from apple/AnthonyLatsis-patch-1
[docs] FAQ: Fix hardcoded arch in suggested build-script option.
2 parents bebd0d0 + 43f9869 commit ff2bed2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/HowToGuides/FAQ.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ The general idea is to build as little as you can.
1818
aren't doing so already.
1919
- Use `build-script`'s various `--skip-*` flags to skip configuring for
2020
platforms that you do not care about.
21-
- If you're on macOS, use `--swift-darwin-supported-archs="x86_64"`.
22-
- Use a release build without assertions (`--release --no-assertions`).
23-
While debuginfo and assertions are valuable to enable when working on the
21+
- If you're on macOS, use `--swift-darwin-supported-archs "$(uname -m)"`.
22+
- Build the release variant without assertions (`--release --no-assertions`).
23+
While debug info and assertions are valuable to enable when working on the
2424
toolchain itself, they are not so useful if you are working only on changes
2525
to the build system.
2626

0 commit comments

Comments
 (0)