Commit f37676f
authored
Rollup merge of rust-lang#157435 - bjorn3:disable_backend_incr_comp, r=lqd
Introduce -Zdisable-incr-comp-backend-caching
This disables caching of compiled objects by the codegen backend during incremental compilation. This is useful for iterating on a codegen backend without having to run the entire rustc frontend from scratch every time when recompiling the standard library. Currently cg_clif has the CG_CLIF_DISABLE_INCR_CACHE env var that does this, but once cg_clif switches to the codegen coordinator of cg_ssa, it will no longer be possible for cg_clif to implement this. It has to be implemented in cg_ssa.3 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
| 467 | + | |
467 | 468 | | |
468 | 469 | | |
469 | 470 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1132 | 1132 | | |
1133 | 1133 | | |
1134 | 1134 | | |
1135 | | - | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
1136 | 1138 | | |
1137 | 1139 | | |
1138 | 1140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2298 | 2298 | | |
2299 | 2299 | | |
2300 | 2300 | | |
| 2301 | + | |
| 2302 | + | |
2301 | 2303 | | |
2302 | 2304 | | |
2303 | 2305 | | |
| |||
0 commit comments