rustc lost compiler flag information in its backtrace #101588
Labels
C-bug
Category: This is a bug.
P-medium
Medium priority
regression-untriaged
Untriaged performance or correctness regression.
Noticed while digging around in incremental compilation bugs:
I run something like
rustc 101518-1.rs -Cincremental=/tmp/a -Zincremental-verify-ich=yes --crate-type lib
rust
1.58.0
would print the flags that caused the ICE like this:while
1.60.0
would print it like this:The problem here is that
-Z incremental-verify-ich=yes
somehow became-Z incremental
between 1.58 and 1.60, and-Zincremental
is not even a valid flag 😅The current
rustc 1.65.0-nightly (c2804e6ec 2022-09-07)
output isnote: compiler flags: -C incremental -Z incremental --crate-type lib
which is quite garbage since both, the actual -Cincremental path and the rest of -Zincremental are missing,The text was updated successfully, but these errors were encountered: