4 ms·
How easy is it to cross-compile with Rust?
by Raed667 6y ago
How easy is it to cross-compile with Rust?
- brundolf 6y agoTrivial. All of the tooling, dependency management, linking, etc. is neatly bundled together under cargo. Just run "cargo build" for the current system, or specify one or more other architectures as arguments to get multiple binaries. Everything's statically-linked so you should be able to scp those wherever. Still, when we're talking about casual "scripts" even this extra step seems a little bit burdensome