Uh oh!
There was an error while loading. Please reload this page.
Fix inconsistent symbol mangling with -Zverbose - #94037
Conversation
rust-highfive
commented
Feb 16, 2022
(rust-highfive has picked a reviewer for you, use r? to override) |
tmiasko
commented
Feb 16, 2022
This comment has been minimized.
This comment has been minimized.
Always skip arguments that are the defaults of their respective parameters, to avoid generating inconsistent symbols for builds with `-Zverbose` flag and without it.
jackh726
commented
Feb 16, 2022
I don't remember what exactly prompted me to add this; I think it was when I was looking through the logs and was a bit confused with what was happening (though IIRC I was confused about the wrong this). Regardless, it's a bit unfortunate that symbol mangling and printing are so linked. I would expect that we shouldn't have to worry too much about I don't feel strongly one way or the other on removing this with or without adding an alternative. When I'm combing through logs for something, I almost always enable |
Mark-Simulacrum
commented
Feb 16, 2022
I agree that it seems unfortunate logs and symbols are so tightly tied together, but ultimately not really related to this particular PR. I'm inclined to r+ this and if a strong use case comes along for emitting the defaults we can do so in the future, perhaps gated on a flag that is more obviously crate-graph-wide necessary (or fix the symbol mangling to not be affected). @bors r+ rollup |
bors
commented
Feb 16, 2022
📌 Commit 3158372 has been approved by |
Fix inconsistent symbol mangling with -Zverbose Always skip arguments that are the defaults of their respective parameters, to avoid generating inconsistent symbols for builds with `-Zverbose` flag and without it.
…askrgr Rollup of 10 pull requests Successful merges: - rust-lang#92366 (Resolve concern of `derive_default_enum`) - rust-lang#93382 (Add a bit more padding in search box) - rust-lang#93962 (Make [u8]::cmp implementation branchless) - rust-lang#94015 (rustdoc --check option documentation) - rust-lang#94017 (Clarify confusing UB statement in MIR) - rust-lang#94020 (Support pretty printing of invalid constants) - rust-lang#94027 (Update browser UI test version) - rust-lang#94037 (Fix inconsistent symbol mangling with -Zverbose) - rust-lang#94045 (Update books) - rust-lang#94054 (:arrow_up: rust-analyzer) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Always skip arguments that are the defaults of their respective
parameters, to avoid generating inconsistent symbols for builds
with
-Zverboseflag and without it.