-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
A-cache-messagesArea: caching of compiler messagesArea: caching of compiler messagesC-bugCategory: bugCategory: bugS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
Recently, I ran cargo bloat --time on one a Cargo project. Afterwards, I noticed there are now json-time {...} output lines when running other cargo commands (check for example). It looks like these are how cargo-bloat collects the compilation times (https://github.com/RazrFalcon/cargo-bloat/blob/ddbb5f55088eb7e28c0cc80e7a1fdfb1310c19b5/src/main.rs#L399), through a RUSTC_WRAPPER executable.
I have verified that at the time I run cargo check, no RUSTC_WRAPPER is set so I'm assuming it's being cached by Cargo somewhere.
Steps
- Install cargo-bloat
- Run
cargo bloat --timeon some Cargo project - Run
cargo check
Notes
Tested with both cargo 1.53.0-beta (4369396ce 2021-04-27) and cargo 1.54.0-nightly (0cecbd673 2021-06-01).
Metadata
Metadata
Assignees
Labels
A-cache-messagesArea: caching of compiler messagesArea: caching of compiler messagesC-bugCategory: bugCategory: bugS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.