Commit eecf0b7
committed
Fix ordering of
These flags are interpreted in reverse order (see
rust-lang/rust#82108), and if we have a set of
flags like:
```
--remap-path-prefix=/a/b/c/d=.
--remap-path-prefix=/a/b=.
```
then the first flag will never apply, because the path will be first
rewritten as ./c/d.
In this case, output_base is the outermost directory, so we need to make
sure it's remapped last.--remap-path-prefix flags.1 parent 7b31777 commit eecf0b7
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
1119 | 1124 | | |
1120 | 1125 | | |
1121 | | - | |
1122 | 1126 | | |
1123 | 1127 | | |
1124 | 1128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
0 commit comments