News for hackers. Stuff that matters.
Re:Rust is actually portable by jmillikin on Thursday July 28, 2022 @05:21AM (#32262110)
Bazel can cross-compile Rust, but you need a linker that can produce target executables. Cargo has the same limitation.

Apple ld doesn't support Linux as an output target, so you need to use GNU ld or LLVM lld instead.

Code examples at https://john-millikin.com/notes-on-cross-compiling-rust#baze...

There are no comments on this comment yet.