maybe bjorn3 has good news regarding the cranelift backend, i.e. maybe it's less hopeless than LLVM
Compile time is better, but runtime is slightly worse than even LLVM debug mode. Rustc is normally always built with optimizations, as it can then compile later stages much (up to 10x) faster.
is peepmatic the "only" / most prominent work for cranelift optimisations ? (and btw do we have results about the approach already ?) (the move into wasmtime has made keeping up to date with cranelift as a whole a bit tough :)
@bjorn3 alright, thanks for the clarification!
I'm interested in both "build libstd/libcore, but only once, not every time I change anything in rustc" and "don't build libstd/libcore at all, just use the one from the rustup nightly".
@comex this is
build --stage 1 src/libstd --keep-stage 1. But I've heard it might break things in the standard library.
Oh whoops eddyb already mentioned that
This topic was moved by simulacrum to #t-compiler > rebuild rustc with existing libstd/libcore