Is there a way to build stage 0 with debug info so that in backtraces I'll see line numbers? I have
debug = true and
debug_level = 2 in my config.toml but I still don't have any line numbers in my backtraces.
The stage 0 compiler is the
beta channel compiler that it downloaded to bootstrap so changing
debug = true won't give you line numbers for backtraces because when it was built on the CI server, it wasn't built with debug symbols. If you continue the bootstrap to stage 1, then the compiler will be built with your debug settings.
Ahh, OK, in that sense it's not useful for me at all. I thought stage 0 is compiler built from source using the downloaded rustc.
Nah, that's the stage1 compiler. stage0 just builds std
Not sure what you're trying to do but you can build a compiler locally with debug symbols and tell rustbuild to use that instead of the