Install support for macOS ARM builds.
Section: Targets and cross-compilation
Add Apple Silicon target
bash
bash
rustup target add aarch64-apple-darwinExplanation
Useful when cross-building or producing release artifacts for macOS ARM.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Targets and cross-compilation
Run is typically host-only
Build target-specific binaries for packaging instead of running them locally.
Pin toolchain in version-controlled config
Check in a `rust-toolchain.toml` file.