-Cprofile-use cannot find file depending on RUSTFLAGS order #128476
Labels
A-PGO
Area: Profile-guided optimizations (PGO)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
and I get
If I instead change the order of RUSTFLAGS, putting the PGO stuff at the end:
compilation succeeds
I have verified that the file exists. Both the path I provided and the path reported by the error. I even verified with
Path::new(abs_path).exists()
I apologize that I couldn't find a more minimal example.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: