@@ -21,8 +21,7 @@ create an issue if you notice any problems.
2121
2222Visit the [ releases page] ( https://github.com/getditto/rust-bitcode/releases ) and
2323download a zip file. It will have a name of the form
24- ` rust-ios-arm64-20xx-xx-xx.zip ` where the date is the Rust nightly that it is
25- based on.
24+ ` rust-ios-arm64-xxx.zip ` .
2625
2726Unzip the file and open a terminal to the extracted directory. Run the
2827installation script:
@@ -31,12 +30,7 @@ installation script:
3130./install.sh
3231```
3332
34- This will:
35- 1 . Install the toolchain in ` ~/.rust-ios-arm64/toolchain-YYYY-MM-DD `
36- 2 . Configure ` rustup ` with a custom toolchain under the name ` ios-arm64 ` .
37-
38- You can also install and add the toolchain yourself if you don't like these
39- defaults.
33+ This will install the toolchain in ` ~/.rustup/toolchains/ios-arm64-xxx ` .
4034
4135## Build from source
4236
@@ -48,15 +42,14 @@ defaults.
4842 repositories under ` build/ ` and compile them. The toolchain will end up
4943 at ` build/rust-build/build/x86_64-apple-darwin/stage2 ` .
50445 . Run ` ./install.sh ` . This will install the toolchain in
51- ` ~/.rust-ios-arm64/toolchain-YYYY-MM-DD ` and add it to rustup, the same as
52- for pre-compiled releases.
45+ ` ~/.rustup/toolchains/rust-ios-arm64-1.46.0 ` , making it available in rustup.
5346
5447## Using the toolchain
5548
5649Build your library like this:
5750
5851```
59- RUSTFLAGS="-Z embed-bitcode" cargo +ios-arm64 build --target aarch64-apple-ios --release --lib
52+ cargo +ios-arm64-1.46.0 build --target aarch64-apple-ios --release --lib
6053```
6154
6255## License
0 commit comments