If rustc crashes while compiling libstd and I want to rerun under gdb, how do I do that? The command itself is printed, but it seems to also expect a boatload of additional environment variables (RUSTC_STAGE, RUSTC_SYSROOT, etc). How can I get those? They don't seem to be part of -vvv either.
@Nikita Popov in what stage?
generally speaking you can replace all the env variables and the rustc binary with
./build/x86*/stageN/bin/rustc and that should just work, if it doesn't, then I can likely help you make it work
Thanks, that worked!
@Nikita Popov are you switching to Rust from PHP by any chance? ;)
Nah, I only do Rust work occasionally, and even then it's more LLVM than Rust ;)