| ▲ | pjmlp 2 hours ago | |||||||
Why isn't rustc using Cranelift then? | ||||||||
| ▲ | norman784 an hour ago | parent [-] | |||||||
I can think a few reasons: - Cranelift applies less optimizations in exchange for faster compilation times, because it was developed to compile WASM (wasmtime), but turns out that is good enough for Rust debug builds. - Cranelift does not support the wide range of platforms (AFAIK just X86_64 and some ARM targets) | ||||||||
| ||||||||