1- # 1. Select the best branch from https://github.com/apple/llvm-project
2-
1+ # 1. Select the best branch, tag or commit hash from https://github.com/apple/llvm-project
2+ # The recommended approach is to use the tagged release that matches the Swift version
3+ # returned by the command below (at this time running Xcode Version 11.3.1 (11C504))
34# $ xcrun -sdk iphoneos swiftc --version
4- # Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
5- # Target: x86_64-apple-darwin19.0.0
5+ # Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)
6+ # Target: x86_64-apple-darwin19.3.0
7+
8+ LLVM_BRANCH=" tags/swift-5.1.3-RELEASE"
9+
10+ # 2. Select the best branch, tag or commit hash from https://github.com/rust-lang/rust
11+ # The stable 1.40.0 version of Rust seems to work
612
7- # There is a branch called "apple/stable/20190619" which is equivalent to the "stable"
8- # Branch under https://github.com/apple/swift-llvm under which looks promising.
9- # At this time (running Xcode 11.3) it's a couple of months newer than the 5.1 branch
10- LLVM_BRANCH=" apple/stable/20190619"
13+ RUST_BRANCH=" tags/1.40.0"
1114
12- # 2. Pick/install a working Rust nightly (ideally one where RLS and clippy built)
13- # 3. Note its date
14- RUST_NIGHTLY=" 2019-12-16"
15+ # 3. Select a name for the toolchain you want to install as. The toolchain will be installed
16+ # under $HOME/.rust-ios-arm64/toolchain-$RUST_TOOLCHAIN
1517
16- # 4. Get its commit - this is what we will check out to build the iOS version
17- # rustc --version | cut -d '(' -f2 | cut -d ' ' -f1
18- RUST_COMMIT=" a605441e0"
18+ RUST_TOOLCHAIN=" 1.40.0"
0 commit comments