Nintendo Switch with pure-Rust toolchain.
This target is cross-compiled. It has no special requirements for the host.
The target can be built by enabling it for a
[build] build-stage = 1 target = ["aarch64-nintendo-switch-freestanding"]
This target can be cross-compiled from any host.
Currently there is no support to run the rustc test suite for this target.
rustc has support for that target and the library artifacts are available,
then Rust programs can be built for that target:
rustc --target aarch64-nintendo-switch-freestanding your-code.rs
To generate binaries in the NRO format that can be easily run on-device, you can use cargo-nx:
cargo nx --triple=aarch64-nintendo-switch-freestanding