Promote aarch64-apple-ios-sim to Tier 2

As per MCP#428[1] this target becomes Tier 2.

[1]: https://github.com/rust-lang/compiler-team/issues/428
This commit is contained in:
Jan-Erik Rediger 2021-08-02 14:43:20 +02:00
parent 87d713ff2b
commit 94ffa00ddb
2 changed files with 9 additions and 10 deletions

View File

@ -165,6 +165,7 @@ target | std | notes
`wasm32-unknown-unknown` | ✓ | WebAssembly `wasm32-unknown-unknown` | ✓ | WebAssembly
`wasm32-wasi` | ✓ | WebAssembly with WASI `wasm32-wasi` | ✓ | WebAssembly with WASI
`x86_64-apple-ios` | ✓ | 64-bit x86 iOS `x86_64-apple-ios` | ✓ | 64-bit x86 iOS
[`aarch64-apple-ios-sim`](platform-support/aarch64-apple-ios-sim.md) | ✓ | | Apple iOS Simulator on ARM64
`x86_64-fortanix-unknown-sgx` | ✓ | [Fortanix ABI] for 64-bit Intel SGX `x86_64-fortanix-unknown-sgx` | ✓ | [Fortanix ABI] for 64-bit Intel SGX
`x86_64-fuchsia` | ✓ | 64-bit Fuchsia `x86_64-fuchsia` | ✓ | 64-bit Fuchsia
`x86_64-linux-android` | ✓ | 64-bit x86 Android `x86_64-linux-android` | ✓ | 64-bit x86 Android
@ -196,7 +197,6 @@ host tools.
target | std | host | notes target | std | host | notes
-------|:---:|:----:|------- -------|:---:|:----:|-------
`aarch64-apple-ios-macabi` | ? | | Apple Catalyst on ARM64 `aarch64-apple-ios-macabi` | ? | | Apple Catalyst on ARM64
[`aarch64-apple-ios-sim`](platform-support/aarch64-apple-ios-sim.md) | ✓ | | Apple iOS Simulator on ARM64
`aarch64-apple-tvos` | * | | ARM64 tvOS `aarch64-apple-tvos` | * | | ARM64 tvOS
`aarch64-unknown-freebsd` | ✓ | ✓ | ARM64 FreeBSD `aarch64-unknown-freebsd` | ✓ | ✓ | ARM64 FreeBSD
`aarch64-unknown-hermit` | ? | | `aarch64-unknown-hermit` | ? | |

View File

@ -1,6 +1,6 @@
# aarch64-apple-ios-sim # aarch64-apple-ios-sim
**Tier: 3** **Tier: 2**
Apple iOS Simulator on ARM64. Apple iOS Simulator on ARM64.
@ -39,18 +39,17 @@ Currently there is no support to run the rustc test suite for this target.
*Note: Building for this target requires the corresponding iOS SDK, as provided by Xcode 12+.* *Note: Building for this target requires the corresponding iOS SDK, as provided by Xcode 12+.*
If `rustc` has support for that target and the library artifacts are available, From Rust Nightly 1.56.0 (2021-08-03) on the artifacts are shipped pre-compiled:
then Rust programs can be built for that target:
```text
rustup target add aarch64-apple-ios-sim --toolchain nightly
```
Rust programs can be built for that target:
```text ```text
rustc --target aarch64-apple-ios-sim your-code.rs rustc --target aarch64-apple-ios-sim your-code.rs
``` ```
On Rust Nightly it is possible to build without the target artifacts available:
```text
cargo build -Z build-std --target aarch64-apple-ios-sim
```
There is no easy way to run simple programs in the iOS simulator. There is no easy way to run simple programs in the iOS simulator.
Static library builds can be embedded into iOS applications. Static library builds can be embedded into iOS applications.