Hacker News new | past | comments | ask | show | jobs | submit login

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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: