3 ms·
Cross-compilation should be much easier when rust starts using the lld linker. You can try it out now by building a statically-linked musl binary in nightly.
by iknowstuff 8y ago
Cross-compilation should be much easier when rust starts using the lld linker. You can try it out now by building a statically-linked musl binary in nightly.
rustup target add arm-unknown-linux-musleabihf
RUSTFLAGS='-C linker=rust-lld -Z linker-flavor=ld.lld' cargo +nightly build --target arm-unknown-linux-musleabihf