3 ms·
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 ou
by jmillikin 4y ago
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#bazel https://john-millikin.com/notes-on-cross-compiling-rust#baze...