File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ git checkout "$RUST_COMMIT"
4141cd ..
4242mkdir -p rust-build
4343cd rust-build
44- ../rust/configure --llvm-config=" $WORKING_DIR /llvm-root/bin/llvm-config" --target=aarch64-apple-ios
44+ ../rust/configure --llvm-config=" $WORKING_DIR /llvm-root/bin/llvm-config" --target=aarch64-apple-ios --enable-extended --tools=cargo
4545export RUSTFLAGS_NOT_BOOTSTRAP=-Zembed-bitcode
4646export CFLAGS_aarch64_apple_ios=-fembed-bitcode
4747python " $WORKING_DIR /rust/x.py" build
Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ DEST_TOOLCHAIN="$HOME/.rust-ios-arm64/toolchain-$RUST_NIGHTLY"
77
88mkdir -p " $DEST_TOOLCHAIN "
99cp -r " $WORKING_DIR /rust-build/build/x86_64-apple-darwin/stage2" /* " $DEST_TOOLCHAIN "
10+ cp -r " $WORKING_DIR /rust-build/build/x86_64-apple-darwin/stage2-tools/x86_64-apple-darwin/release/cargo" " $DEST_TOOLCHAIN /bin"
1011
1112rustup toolchain link ios-arm64 " $DEST_TOOLCHAIN "
You can’t perform that action at this time.
0 commit comments