cycle error building rustc with debug logging #61577
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
When using
RUSTC_LOG
to debug building rustc itself, I ran into this error:Repro:
debug = true
inconfig.toml
../x.py build
to get a debug compiler (and go through several steps in stage 1 we want to skip).touch src/librustc/lib.rs
RUSTC_LOG=rustc::ty=debug ./x.py build --stage=1 --keep-stage=0 > dlog 2>&1
The last step should rebuild librustc using a compiler with debugging enabled. I imagine there is a faster way to do this, but these are the simplest instructions I could think of.
Is this known/expected? I have no idea what the error means, but it makes debugging more difficult.
Currently on master (7cdaffd).
The text was updated successfully, but these errors were encountered: