Conversation
|
Some changes occured to the CTFE / Miri engine cc @rust-lang/miri Some changes occured to rustc_codegen_cranelift cc @bjorn3 |
|
r? @cjgillot (rust-highfive has picked a reviewer for you, use r? to override) |
| cgu: &CodegenUnit<'_>, | ||
| work_products: &mut FxHashMap<WorkProductId, WorkProduct>, | ||
| ) -> CompiledModule { | ||
| let incr_comp_session_dir = tcx.sess.incr_comp_session_dir(); |
There was a problem hiding this comment.
Is something keeping the handling of the incr-comp session directory from being removed from Session?
There was a problem hiding this comment.
It has to be stored somewhere. TyCtxt won't easily work as cg_ssa and cg_llvm require sess.incr_comp_session_dir() at a place where TyCtxt is not available. It is probably possible to refactor this away from Session and I was already looking into it a bit, but then I got distracted by refactorings to the crate loader.
|
@bors r+ |
|
📌 Commit b88ad42 has been approved by |
Shrink Session a bit Remove a couple of unnecessary fields from `Session` and remove a `Lock<T>` for a field that is never mutated anyway.
|
@bors rollup=never |
|
⌛ Testing commit b88ad42 with merge b778006db62a663595c8ffc810a20ddc85bf41b0... |
This comment has been minimized.
This comment has been minimized.
|
💔 Test failed - checks-actions |
|
Spurious? This didn't touch rustdoc. |
|
There are no flaky in those tests (they only check the generated HTML). Not sure what broke it in your PR though... Maybe rebase and try again? |
b88ad42 to
74c7f12
Compare
|
Rebased. @bors r=cjgillot |
|
📌 Commit 74c7f12 has been approved by |
|
☀️ Test successful - checks-actions |
|
Oddly this was flagged as causing a large regression in instruction counts for deeply-nested-async benchmark during perf triage. |
|
Wild guess would be that it comes from this line. |
|
#88748 will revert that change. |
…leywiser Revert "Remove optimization_fuel_crate from Session" This reverts commit 5464b2e. This hopefully fixes the perf regression in rust-lang#88530 (comment).
So, marking as triaged. |
Remove a couple of unnecessary fields from
Sessionand remove aLock<T>for a field that is never mutated anyway.