File tree Expand file tree Collapse file tree 3 files changed +55
-0
lines changed Expand file tree Collapse file tree 3 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 2020 - [ aarch64-apple-ios-sim] ( platform-support/aarch64-apple-ios-sim.md )
2121 - [ \* -apple-tvos] ( platform-support/apple-tvos.md )
2222 - [ \* -apple-watchos\* ] ( platform-support/apple-watchos.md )
23+ - [ aarch64-apple-xros\* ] ( platform-support/apple-xros.md )
2324 - [ aarch64-nintendo-switch-freestanding] ( platform-support/aarch64-nintendo-switch-freestanding.md )
2425 - [ armeb-unknown-linux-gnueabi] ( platform-support/armeb-unknown-linux-gnueabi.md )
2526 - [ arm-none-eabi] ( platform-support/arm-none-eabi.md )
Original file line number Diff line number Diff line change @@ -241,6 +241,8 @@ target | std | host | notes
241241[ ` aarch64-apple-tvos-sim ` ] ( platform-support/apple-tvos.md ) | ? | | ARM64 tvOS Simulator
242242[ ` aarch64-apple-watchos ` ] ( platform-support/apple-watchos.md ) | ✓ | | ARM64 Apple WatchOS
243243[ ` aarch64-apple-watchos-sim ` ] ( platform-support/apple-watchos.md ) | ✓ | | ARM64 Apple WatchOS Simulator
244+ [ ` aarch64-apple-xros ` ] ( platform-support/apple-xros.md ) | ✓ | | ARM64 Apple visionOS
245+ [ ` aarch64-apple-xros-sim ` ] ( platform-support/apple-xros.md ) | ✓ | | ARM64 Apple visionOS Simulator
244246[ ` aarch64-kmc-solid_asp3 ` ] ( platform-support/kmc-solid.md ) | ✓ | | ARM64 SOLID with TOPPERS/ASP3
245247[ ` aarch64-nintendo-switch-freestanding ` ] ( platform-support/aarch64-nintendo-switch-freestanding.md ) | * | | ARM64 Nintendo Switch, Horizon
246248[ ` aarch64-pc-windows-gnullvm ` ] ( platform-support/pc-windows-gnullvm.md ) | ✓ | ✓ |
Original file line number Diff line number Diff line change 1+ # aarch64-apple-xros\*
2+
3+ - aarch64-apple-xros
4+ - aarch64-apple-xros-sim
5+
6+ ** Tier: 3**
7+
8+ Apple visionOS targets:
9+
10+ - Apple visionOS on arm64
11+ - Apple visionOS Simulator on arm64
12+
13+ ## Target maintainers
14+
15+ - [ @agg23 ] ( https://github.com/agg23 )
16+
17+ ## Requirements
18+
19+ These targets are cross-compiled.
20+ To build these targets Xcode 15 or higher on macOS is required.
21+
22+ ## Building the target
23+
24+ The targets can be built by enabling them for a ` rustc ` build, for example:
25+
26+ ``` toml
27+ [build ]
28+ build-stage = 1
29+ target = [" aarch64-apple-xros-sim" ]
30+ ```
31+
32+ ## Building Rust programs
33+
34+ _ Note: Building for this target requires the corresponding visionOS SDK, as provided by Xcode 15+._
35+
36+ Rust programs can be built for these targets, if ` rustc ` has been built with support for them, for example:
37+
38+ ``` text
39+ rustc --target aarch64-apple-xros-sim your-code.rs
40+ ```
41+
42+ ## Testing
43+
44+ There is no support for running the Rust testsuite on visionOS or the simulators.
45+
46+ There is no easy way to run simple programs on visionOS or the visionOS simulators. Static library builds can be embedded into visionOS applications.
47+
48+ ## Cross-compilation toolchains and C code
49+
50+ This target can be cross-compiled from x86_64 or aarch64 macOS hosts.
51+
52+ Other hosts are not supported for cross-compilation, but might work when also providing the required Xcode SDK.
You can’t perform that action at this time.
0 commit comments