Rust Lands Experimental Cranelift-Based Code Generator - Much Faster Debug Build Times
The pull request adding rustc_codegen_cranelift as an alternative code generator for the Rust compiler has been merged. When compiling Rust code with the debug mode set, this has the potential of speeding up compile times by 20~30% compared to the debug mode LLVM builds.
The non-default, experimental Cranelift back-end for Rust is now merged. The rustc_codegen_cranelift repository also saw its initial version (v0.1.0) to mark the milestone. At this point its primary benefit seems to be over faster debug build times but not for release builds or the resulting binary performance, but we'll see in time as Cranelift matures and is supported more broadly how well it continues performing.
This Cranelift documentation provides a comparison how they view themselves compared to LLVM.