@@ -174,7 +174,8 @@ jobs:
174
174
175
175
macos-link :
176
176
name : macOS ARM64 Build/Link
177
- runs-on : macos-12
177
+ # visionOS requires Xcode 15.2+, which is only available on the arm64 runners.
178
+ runs-on : macos-14
178
179
steps :
179
180
- uses : actions/checkout@v4
180
181
- uses : dtolnay/rust-toolchain@nightly
@@ -184,7 +185,11 @@ jobs:
184
185
- uses : Swatinem/rust-cache@v2
185
186
- run : cargo test --no-run --target=aarch64-apple-darwin --features=std
186
187
- run : cargo test --no-run --target=aarch64-apple-ios --features=std
187
- - run : cargo test --no-run --target=aarch64-apple-watchos-sim -Zbuild-std --features=std
188
+ - run : cargo test --no-run --target=aarch64-apple-tvos -Zbuild-std --features=std
189
+ - run : cargo test --no-run --target=aarch64-apple-watchos -Zbuild-std --features=std
190
+ # visionOS requires Xcode 15.2+, GitHub Actions defaults to an older version.
191
+ - run : sudo xcode-select -switch /Applications/Xcode_15.2.app
192
+ - run : cargo test --no-run --target=aarch64-apple-visionos -Zbuild-std --features=std
188
193
189
194
cross-link :
190
195
name : Cross Build/Link
@@ -318,9 +323,6 @@ jobs:
318
323
armv7-sony-vita-newlibeabihf,
319
324
riscv32imc-esp-espidf,
320
325
aarch64-unknown-nto-qnx710,
321
- # `std` support still in progress. Can be moved up with the other
322
- # apple targets after https://github.com/rust-lang/rust/pull/103503
323
- aarch64-apple-tvos,
324
326
]
325
327
include :
326
328
- target : aarch64-unknown-nto-qnx710
0 commit comments