Commit 2285c8c
committed
Address some rustc inconsistency issues
We noticed when building rustc multiple time in a roll, some files
will not be consistent across the build despite the fact that they
are built from same source under the same environment. This patch
addresses the inconsistency issue we found on libunwind.a by sorting
the order of the files passed to the linker. This patch also adds
a passthrough of "SOURCE_DATE_EPOCH" env arg from bootstrap to cargo
to partially address the inconsistency on the cargo binary.1 parent 1c6de21 commit 2285c8c
File tree
3 files changed
+42
-9
lines changed- src/bootstrap/src/core
- build_steps
- builder
3 files changed
+42
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2228 | 2228 | | |
2229 | 2229 | | |
2230 | 2230 | | |
2231 | | - | |
2232 | | - | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
2233 | 2242 | | |
2234 | 2243 | | |
2235 | | - | |
| 2244 | + | |
2236 | 2245 | | |
2237 | 2246 | | |
2238 | 2247 | | |
| |||
2248 | 2257 | | |
2249 | 2258 | | |
2250 | 2259 | | |
2251 | | - | |
| 2260 | + | |
2252 | 2261 | | |
2253 | 2262 | | |
2254 | 2263 | | |
| |||
2376 | 2385 | | |
2377 | 2386 | | |
2378 | 2387 | | |
2379 | | - | |
| 2388 | + | |
2380 | 2389 | | |
2381 | 2390 | | |
2382 | 2391 | | |
2383 | 2392 | | |
2384 | | - | |
| 2393 | + | |
| 2394 | + | |
| 2395 | + | |
| 2396 | + | |
| 2397 | + | |
2385 | 2398 | | |
2386 | 2399 | | |
2387 | | - | |
| 2400 | + | |
2388 | 2401 | | |
2389 | 2402 | | |
2390 | 2403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1528 | 1528 | | |
1529 | 1529 | | |
1530 | 1530 | | |
1531 | | - | |
1532 | | - | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
1533 | 1543 | | |
1534 | 1544 | | |
1535 | 1545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1269 | 1269 | | |
1270 | 1270 | | |
1271 | 1271 | | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
1272 | 1282 | | |
1273 | 1283 | | |
1274 | 1284 | | |
| |||
0 commit comments