Docs say --remap-path-prefix treats paths as strings during matching but compiler does not #96870
Labels
A-reproducibility
Area: Reproducible / deterministic builds
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Our
--remap-path-prefix
documentation says "Thereplacement is purely textual, with no consideration of the current system's
pathname syntax.". But that currently is not the case. Prefix matching is implemented via Path::strip_prefix which can behave quite differently:
It's unclear whether we should update the documentation or change the compiler's behavior.
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: