GitHub - rust-cross/cargo-zigbuild: Compile Cargo project with zig as linker
Compile Cargo project with zig as linker. Contribute to rust-cross/cargo-zigbuild development by creating an account on GitHub.
Cross-compiling to ARM MacOS with Zig is Easy.
Compile Cargo project with zig as linker. Contribute to rust-cross/cargo-zigbuild development by creating an account on GitHub.
No matter what language you program in or what applications you use: everything you do with a computer today is powered at some level by a piece of C/C++ code.
So you've just finished writing an application in Rust, congratulations! So how do you go about compiling a release version? And how do you do it for other operating systems...
Nix make cross-compiling Rust fairly straightforward.