5 ms·
Even if you don't bring in C, you need a cross linker and some libraries to link against. Rust doesn't come with those, except maybe for the mingw target.
by glandium 5y ago
Even if you don't bring in C, you need a cross linker and some libraries to link against. Rust doesn't come with those, except maybe for the mingw target.
- steveklabnik 5y agoI don't think of downloading the libraries as being a "cross toolchain", but that is true. Common cross-compiled components default to lld, which is a cross linker. That said, yes, there are some *s here depending on what exactly you're doing.
- glandium 5y agoAFAICT, rust doesn't ship lld, though.
- steveklabnik 5y agoIf you are using the various ARM targets or wasm, it'll also include the llvm-tools component of rustup, which does.