cross-compilation
Building a program on one kind of machine for another kind.
Cross-compilation builds an executable for a target different from the host machine running the compiler.
Loading interactive…
Examples
On an ARM Mac,
cargo build --release --target x86_64-apple-darwinbuilds an Intel program intarget/x86_64-apple-darwin/release/.
See also