File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ target | std | notes
165165` wasm32-unknown-unknown ` | ✓ | WebAssembly
166166` wasm32-wasi ` | ✓ | WebAssembly with WASI
167167` x86_64-apple-ios ` | ✓ | 64-bit x86 iOS
168+ [ ` aarch64-apple-ios-sim ` ] ( platform-support/aarch64-apple-ios-sim.md ) | ✓ | | Apple iOS Simulator on ARM64
168169` x86_64-fortanix-unknown-sgx ` | ✓ | [ Fortanix ABI] for 64-bit Intel SGX
169170` x86_64-fuchsia ` | ✓ | 64-bit Fuchsia
170171` x86_64-linux-android ` | ✓ | 64-bit x86 Android
@@ -196,7 +197,6 @@ host tools.
196197target | std | host | notes
197198-------|:---:|:----:|-------
198199` aarch64-apple-ios-macabi ` | ? | | Apple Catalyst on ARM64
199- [ ` aarch64-apple-ios-sim ` ] ( platform-support/aarch64-apple-ios-sim.md ) | ✓ | | Apple iOS Simulator on ARM64
200200` aarch64-apple-tvos ` | * | | ARM64 tvOS
201201` aarch64-unknown-freebsd ` | ✓ | ✓ | ARM64 FreeBSD
202202` aarch64-unknown-hermit ` | ? | |
Original file line number Diff line number Diff line change 11# aarch64-apple-ios-sim
22
3- ** Tier: 3 **
3+ ** Tier: 2 **
44
55Apple iOS Simulator on ARM64.
66
@@ -39,17 +39,16 @@ Currently there is no support to run the rustc test suite for this target.
3939
4040* Note: Building for this target requires the corresponding iOS SDK, as provided by Xcode 12+.*
4141
42- If ` rustc ` has support for that target and the library artifacts are available,
43- then Rust programs can be built for that target:
42+ From Rust Nightly 1.56.0 (2021-08-03) on the artifacts are shipped pre-compiled:
4443
4544``` text
46- rustc -- target aarch64-apple-ios-sim your-code.rs
45+ rustup target add aarch64-apple-ios-sim --toolchain nightly
4746```
4847
49- On Rust Nightly it is possible to build without the target artifacts available :
48+ Rust programs can be built for that target:
5049
5150``` text
52- cargo build -Z build-std -- target aarch64-apple-ios-sim
51+ rustc -- target aarch64-apple-ios-sim your-code.rs
5352```
5453
5554There is no easy way to run simple programs in the iOS simulator.
You can’t perform that action at this time.
0 commit comments