Commit 67bd5f5
committed
Prefer remapping the relative
This is done to avoid leaking the relative paths to the standard
library after the overall of filenames.
Noted that the paths were already leaking before, but to a lesser extent
since the paths embedded in the distributed `rlib` were absolute.
In general Cargo compiles workspace members with relative paths, so it's
better anyway to remap the relative path.
cf https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/remapping.20of.20the.20standard.20library/near/564093571library/ and compiler/ directories1 parent 8188f6c commit 67bd5f5
1 file changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1032 | 1032 | | |
1033 | 1033 | | |
1034 | 1034 | | |
1035 | | - | |
1036 | | - | |
1037 | | - | |
1038 | | - | |
| 1035 | + | |
1039 | 1036 | | |
1040 | 1037 | | |
1041 | 1038 | | |
| |||
1047 | 1044 | | |
1048 | 1045 | | |
1049 | 1046 | | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | | - | |
| 1047 | + | |
1054 | 1048 | | |
1055 | 1049 | | |
1056 | 1050 | | |
| |||
0 commit comments