Cleanup metadata and incremental cache processing of constants#49079
Cleanup metadata and incremental cache processing of constants#49079bors merged 1 commit intorust-lang:masterfrom
Conversation
|
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
|
I'll review this. |
michaelwoerister
left a comment
There was a problem hiding this comment.
Thanks, @oli-obk! Looking good!
r=me with the nits addressed.
src/librustc/mir/interpret/mod.rs
Outdated
There was a problem hiding this comment.
It would be nice to define constants for those.
src/librustc/mir/interpret/mod.rs
Outdated
There was a problem hiding this comment.
Why not just pass a usize?
There was a problem hiding this comment.
Could you add a comment that explains what this assertion is about?
src/librustc_metadata/encoder.rs
Outdated
|
I decided to fix #49081 here, too, because it's hard/annoying to to before this PR and if I made a second PR they'd just break each other anyway. |
|
needs a re-review |
|
@bors: p=1 (I've seen a number of projects that would benefit from getting this quickly!) |
|
📌 Commit 49dac83 has been approved by |
|
☀️ Test successful - status-appveyor, status-travis |
fixes #49033
fixes #49081
we really need tests for this. do we have any cross compilation tests? I couldn't find any