Commit 5fecb7b
authored
Rollup merge of #155935 - paradoxicalguy:fix-out-dir-remap, r=Urgau,
remap OUT_DIR paths to fix build script path leakage in crate metadata.
### problem:
- build script outputs (`OUT_DIR`) leak absolute paths into crate metadata causing non-determinism across identical builds.
- bootstrap remaps source paths (`self.build.src`) and registry sources but doesn't not remap `self.build.out` used by `OUT_DIR`
### fix:
- adding `--remap-path-prefix` for `self.build.out` , mapping it to a stable virtual prefix, consistent with existing remappings
### result:
- removes path-based non-determinism from build script outputs
- verified via stage 2 reproducibility testing.
r? @Urgau1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1073 | 1073 | | |
1074 | 1074 | | |
1075 | 1075 | | |
| 1076 | + | |
| 1077 | + | |
1076 | 1078 | | |
1077 | 1079 | | |
1078 | 1080 | | |
| |||
1093 | 1095 | | |
1094 | 1096 | | |
1095 | 1097 | | |
| 1098 | + | |
| 1099 | + | |
1096 | 1100 | | |
1097 | 1101 | | |
1098 | 1102 | | |
| |||
0 commit comments