23
Cranelift code generation comes to Rust
(lwn.net)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Another option is to compile dependencies with LLVM and optimizations, which will likely be done only once in the first clean build, and then compile your main binary with Cranelift, thus getting the juicy fast compile times without having to worry about the slow dependencies.
Yes. And to complete the pro tips, the choice of linker can be very relevant. Using
moldwould come recommended nowadays.