3 ms·
From what I have read, Nim has a much better cross-compilation story (i.e. it delegates to the available C cross-compilation toolchain instead of requiring the
by _pmf_ 12y ago
From what I have read, Nim has a much better cross-compilation story (i.e. it delegates to the available C cross-compilation toolchain instead of requiring the Nim compiler and toolchain to be compiled for the cross target).
Rust, as I understand, requires the Rust compiler to be compiled for the cross-target; is this correct?
- andrewchambers 12y agollvm has pretty good cross compiler support, So I don't know.
- dbaupp 12y agoThe compiler does not need to be compiled for the cross-target to just run binaries, just the standard library like C; but, once they exist, running the compiler directly with `rustc --target=...` and using the dependency/build manager cargo `cargo build --target=...` both work fine. Of course, it is harder to obtain cross-compiled versions of the Rust standard library at the moment, so what you say is likely true.