Skip to content

Commit 7b34126

Browse files
committed
Promote Mac Catalyst targets to tier 2, and ship with rustup
- aarch64-apple-ios-macabi - x86_64-apple-ios-macabi
1 parent f158600 commit 7b34126

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

src/ci/github-actions/jobs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ auto:
277277

278278
- image: dist-apple-various
279279
env:
280-
SCRIPT: ./x.py dist bootstrap --include-default-paths --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim
280+
SCRIPT: ./x.py dist bootstrap --include-default-paths --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim,aarch64-apple-ios-macabi,x86_64-apple-ios-macabi
281281
RUST_CONFIGURE_ARGS: --enable-sanitizers --enable-profiler --set rust.jemalloc
282282
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
283283
MACOSX_DEPLOYMENT_TARGET: 10.12

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ so Rustup may install the documentation for a similar tier 1 target instead.
134134
target | std | notes
135135
-------|:---:|-------
136136
[`aarch64-apple-ios`](platform-support/apple-ios.md) | ✓ | ARM64 iOS
137+
[`aarch64-apple-ios-macabi`](platform-support/apple-ios-macabi.md) | ✓ | Mac Catalyst on ARM64
137138
[`aarch64-apple-ios-sim`](platform-support/apple-ios.md) | ✓ | Apple iOS Simulator on ARM64
138139
`aarch64-fuchsia` | ✓ | Alias for `aarch64-unknown-fuchsia`
139140
[`aarch64-unknown-fuchsia`](platform-support/fuchsia.md) | ✓ | ARM64 Fuchsia
@@ -194,6 +195,7 @@ target | std | notes
194195
[`wasm32-wasip1`](platform-support/wasm32-wasip1.md) | ✓ | WebAssembly with WASI
195196
[`wasm32-wasip1-threads`](platform-support/wasm32-wasip1-threads.md) | ✓ | | WebAssembly with WASI Preview 1 and threads
196197
[`x86_64-apple-ios`](platform-support/apple-ios.md) | ✓ | 64-bit x86 iOS
198+
[`x86_64-apple-ios-macabi`](platform-support/apple-ios-macabi.md) | ✓ | Mac Catalyst on x86_64
197199
[`x86_64-fortanix-unknown-sgx`](platform-support/x86_64-fortanix-unknown-sgx.md) | ✓ | [Fortanix ABI] for 64-bit Intel SGX
198200
`x86_64-fuchsia` | ✓ | Alias for `x86_64-unknown-fuchsia`
199201
[`x86_64-unknown-fuchsia`](platform-support/fuchsia.md) | ✓ | 64-bit x86 Fuchsia
@@ -241,7 +243,6 @@ target | std | host | notes
241243
-------|:---:|:----:|-------
242244
[`arm64e-apple-ios`](platform-support/arm64e-apple-ios.md) | ✓ | | ARM64e Apple iOS
243245
[`arm64e-apple-darwin`](platform-support/arm64e-apple-darwin.md) | ✓ | ✓ | ARM64e Apple Darwin
244-
[`aarch64-apple-ios-macabi`](platform-support/apple-ios-macabi.md) | ✓ | | Apple Catalyst on ARM64
245246
[`aarch64-apple-tvos`](platform-support/apple-tvos.md) | ✓ | | ARM64 tvOS
246247
[`aarch64-apple-tvos-sim`](platform-support/apple-tvos.md) | ✓ | | ARM64 tvOS Simulator
247248
[`aarch64-apple-watchos`](platform-support/apple-watchos.md) | ✓ | | ARM64 Apple WatchOS
@@ -367,7 +368,6 @@ target | std | host | notes
367368
`thumbv7neon-unknown-linux-musleabihf` | ? | | Thumb2-mode Armv7-A Linux with NEON, musl 1.2.3
368369
[`wasm32-wasip2`](platform-support/wasm32-wasip2.md) | ✓ | | WebAssembly
369370
[`wasm64-unknown-unknown`](platform-support/wasm64-unknown-unknown.md) | ? | | WebAssembly
370-
[`x86_64-apple-ios-macabi`](platform-support/apple-ios-macabi.md) | ✓ | | Apple Catalyst on x86_64
371371
[`x86_64-apple-tvos`](platform-support/apple-tvos.md) | ✓ | | x86 64-bit tvOS
372372
[`x86_64-apple-watchos-sim`](platform-support/apple-watchos.md) | ✓ | | x86 64-bit Apple WatchOS simulator
373373
[`x86_64-pc-nto-qnx710`](platform-support/nto-qnx.md) | ✓ | | x86 64-bit QNX Neutrino 7.1 RTOS |

src/doc/rustc/src/platform-support/apple-ios-macabi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Apple Mac Catalyst targets.
44

5-
**Tier: 3**
5+
**Tier: 2 (without Host Tools)**
66

77
- `aarch64-apple-ios-macabi`: Mac Catalyst on ARM64.
88
- `x86_64-apple-ios-macabi`: Mac Catalyst on 64-bit x86.

src/tools/build-manifest/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ static TARGETS: &[&str] = &[
5353
"arm64e-apple-darwin",
5454
"aarch64-apple-ios",
5555
"arm64e-apple-ios",
56+
"aarch64-apple-ios-macabi",
5657
"aarch64-apple-ios-sim",
5758
"aarch64-unknown-fuchsia",
5859
"aarch64-linux-android",
@@ -156,6 +157,7 @@ static TARGETS: &[&str] = &[
156157
"wasm32-wasip1-threads",
157158
"x86_64-apple-darwin",
158159
"x86_64-apple-ios",
160+
"x86_64-apple-ios-macabi",
159161
"x86_64-fortanix-unknown-sgx",
160162
"x86_64-unknown-fuchsia",
161163
"x86_64-linux-android",

0 commit comments

Comments
 (0)