Commit 46281bf
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 46281bf
2 files changed
Lines changed: 10 additions & 5 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 | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments