Skip to content

Commit c864695

Browse files
committed
Mention that you need to pass --toolchain to build-script.py in documentation
Fixes #411
1 parent 0772ed3 commit c864695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To build the `main` branch of SwiftSyntax, follow the following instructions:
2121
```
2222
2323
4. To make sure everything is set up correctly, check the return statement of `xcrun --find swift`. It should point inside the latest installed trunk development toolchain. If it points inside an Xcode toolchain, check that you exported the `TOOLCHAINS` environment variable correctly. If it points inside a version-specific toolchain (like Swift 5.0-dev), you'll need to remove that toolchain.
24-
5. Run `swift-syntax/build-script.py`.
24+
5. Run `swift-syntax/build-script.py --toolchain /path/to/recent/swift/development/snapshot.xctoolchain/usr`.
2525
If despite following those instructions, you get compiler errors, the Swift toolchain might be too old to contain recent changes in Swift's SwiftSyntaxParser C library. In that case, you'll have to build the compiler and SwiftSyntax together with the following command:
2626
2727
```bash

0 commit comments

Comments
 (0)