File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ target | std | notes
165
165
` wasm32-unknown-unknown ` | ✓ | WebAssembly
166
166
` wasm32-wasi ` | ✓ | WebAssembly with WASI
167
167
` 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
168
169
` x86_64-fortanix-unknown-sgx ` | ✓ | [ Fortanix ABI] for 64-bit Intel SGX
169
170
` x86_64-fuchsia ` | ✓ | 64-bit Fuchsia
170
171
` x86_64-linux-android ` | ✓ | 64-bit x86 Android
@@ -196,7 +197,6 @@ host tools.
196
197
target | std | host | notes
197
198
-------|:---:|:----:|-------
198
199
` 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
200
200
` aarch64-apple-tvos ` | * | | ARM64 tvOS
201
201
` aarch64-unknown-freebsd ` | ✓ | ✓ | ARM64 FreeBSD
202
202
` aarch64-unknown-hermit ` | ? | |
Original file line number Diff line number Diff line change 1
1
# aarch64-apple-ios-sim
2
2
3
- ** Tier: 3 **
3
+ ** Tier: 2 **
4
4
5
5
Apple iOS Simulator on ARM64.
6
6
@@ -39,17 +39,16 @@ Currently there is no support to run the rustc test suite for this target.
39
39
40
40
* Note: Building for this target requires the corresponding iOS SDK, as provided by Xcode 12+.*
41
41
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:
44
43
45
44
``` text
46
- rustc -- target aarch64-apple-ios-sim your-code.rs
45
+ rustup target add aarch64-apple-ios-sim --toolchain nightly
47
46
```
48
47
49
- On Rust Nightly it is possible to build without the target artifacts available :
48
+ Rust programs can be built for that target:
50
49
51
50
``` text
52
- cargo build -Z build-std -- target aarch64-apple-ios-sim
51
+ rustc -- target aarch64-apple-ios-sim your-code.rs
53
52
```
54
53
55
54
There is no easy way to run simple programs in the iOS simulator.
You can’t perform that action at this time.
0 commit comments