You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TIMING] debug output does not distinguish checking from building #96060
A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-mediumCall for participation: Medium difficulty. Experience needed to fix: Intermediate.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
The first one is doc::Rustc and the second I think is check::Rustc, by the fields it has. But we should just print that in the debug logs rather than having to guess.
This will be annoying to fix because we'll have to remove derive(Debug) for Step and implement it by hand. Maybe we could introduce a new macro making it easier? The module name is available through https://doc.rust-lang.org/stable/std/macro.module_path.html
A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-mediumCall for participation: Medium difficulty. Experience needed to fix: Intermediate.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Activity
jyn514 commentedon Apr 15, 2022
This will be annoying to fix because we'll have to remove
derive(Debug)forStepand implement it by hand. Maybe we could introduce a new macro making it easier? The module name is available through https://doc.rust-lang.org/stable/std/macro.module_path.htmljyn514 commentedon Apr 15, 2022
@rustbot label +E-medium +E-mentor +A-rustbuild
Mark-Simulacrum commentedon Apr 15, 2022
The way to go is likely to add type_name to the timing print rather than solely relying on Debug.
Auto merge of rust-lang#96106 - jihiggins:issue-96060, r=Mark-Simulacrum