Uh oh!
There was an error while loading. Please reload this page.
Remove the cstore reference from Session - #44341
Conversation
rust-highfive
commented
Sep 5, 2017
r? @arielb1 (rust_highfive has picked a reviewer for you, use r? to override) |
michaelwoerister
commented
Sep 5, 2017
nikomatsakis
commented
Sep 5, 2017
@bors r+ |
bors
commented
Sep 5, 2017
📌 Commit 27b50f6 has been approved by |
arielb1
commented
Sep 5, 2017
@bors r- |
27b50f6 to
8a7d919Compare…ulating CrateStore access in tcx.
8a7d919 to
ef96a41Comparemichaelwoerister
commented
Sep 6, 2017
@bors r=nikomatsakis |
bors
commented
Sep 6, 2017
📌 Commit ef96a41 has been approved by |
Mark-Simulacrum
commented
Sep 6, 2017
@bors rollup |
Mark-Simulacrum
commented
Sep 6, 2017
@bors rollup- actually, this feels like it might have perf implications |
alexcrichton
commented
Sep 7, 2017
Note that this is also likely to conflict quite a bit with #44142, where I think a lot of the |
michaelwoerister
commented
Sep 7, 2017
@alexcrichton I don't mind holding off on this PR until #44142 is merged. |
alexcrichton
commented
Sep 7, 2017
@bors: r- Ok gonna r- this until #44142 lands. I feel bad though as that's gonna be a nasty merge, so I went ahead and did it! I rebased this commit in alexcrichton@a00804b and then tacked alexcrichton@e3e88cd on top which makes |
michaelwoerister
commented
Sep 8, 2017
Thanks, @alexcrichton! I'll close this then in favor of #44142. |
alexcrichton
commented
Sep 8, 2017
I've reopened this as #44420 |
…aelwoerister rustc: Make `CrateStore` private to `TyCtxt` This commit makes the `CrateStore` object private to the `ty/context.rs` module and also absent on the `Session` itself. cc rust-lang#44390 cc rust-lang#44341 (initial commit pulled and rebased from here)
…aelwoerister rustc: Make `CrateStore` private to `TyCtxt` This commit makes the `CrateStore` object private to the `ty/context.rs` module and also absent on the `Session` itself. cc rust-lang#44390 cc rust-lang#44341 (initial commit pulled and rebased from here)
This PR removes the
CrateStorereference fromSessionin preparation to control allCrateStoreaccess through thetcx. This control will later be used to either interpose aCrateStorewrapper for dependency tracking or forcing allCrateStoreaccess to go through queries.