remap-path-prefix appears to be applied in a reverse order #82108
Labels
A-reproducibility
Area: Reproducible / deterministic builds
D-papercut
Diagnostics: An error or lint that needs small tweaks.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
It appears that if multiple
--remap-path-prefix
arguments are supplied on the CLI, they will be applied in the reverse order, rather than in the CLI-occurence order.To reproduce:
Note that only the latter
--remap-path-prefix
got invoked and the panic path became/second/banana/chaenomeles.rs
. Instead users need to specify the order of remappings in reverse:(in contrast clang/gcc will apply remappings front-to-back)
The text was updated successfully, but these errors were encountered: