Skip to content

Commit 41076a8

Browse files
authored
Rollup merge of #87760 - badboy:promote-ios-sim-target, r=Mark-Simulacrum
Promote `aarch64-apple-ios-sim` to Tier 2 As per rust-lang/compiler-team#428 this target becomes Tier 2. --- I tested that the latest nightly has the target and I'm already building my project with that on CI and locally.
2 parents 13f9a4c + 94ffa00 commit 41076a8

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/doc/rustc/src/platform-support.md

+1-1
Original file line numberDiff line numberDiff 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.
196197
target | 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` | ? | |

src/doc/rustc/src/platform-support/aarch64-apple-ios-sim.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# aarch64-apple-ios-sim
22

3-
**Tier: 3**
3+
**Tier: 2**
44

55
Apple 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

5554
There is no easy way to run simple programs in the iOS simulator.

0 commit comments

Comments
 (0)