Implement --remap-path-prefix
Remove experimental -Zremap-path-prefix-from/to, and replace it with the stabilized --remap-path-prefix=from=to variant. This is an implementation for issue of #41555.
This commit is contained in:
parent
b1f8e6fb06
commit
56a6828533
10 changed files with 38 additions and 70 deletions
|
|
@ -323,7 +323,7 @@ impl<'a, 'tcx> EncodeContext<'a, 'tcx> {
|
|||
// paths because any relative paths are potentially relative to
|
||||
// a wrong directory.
|
||||
// However, if a path has been modified via
|
||||
// `-Zremap-path-prefix` we assume the user has already set
|
||||
// `--remap-path-prefix` we assume the user has already set
|
||||
// things up the way they want and don't touch the path values
|
||||
// anymore.
|
||||
match filemap.name {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue