-
-
Notifications
You must be signed in to change notification settings - Fork 15k
remap-path-prefix appears to be applied in a reverse order #82108
Copy link
Copy link
Closed
Labels
A-reproducibilityArea: Reproducible / deterministic buildsArea: Reproducible / deterministic buildsD-papercutDiagnostics: An error or lint that needs small tweaks.Diagnostics: An error or lint that needs small tweaks.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-reproducibilityArea: Reproducible / deterministic buildsArea: Reproducible / deterministic buildsD-papercutDiagnostics: An error or lint that needs small tweaks.Diagnostics: An error or lint that needs small tweaks.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
It appears that if multiple
--remap-path-prefixarguments 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-prefixgot 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)