Closed bjorn3 closed 4 years ago
What's the reason behind the second commit?
SIR is something codegen related, so it shouldn't be part of rustc_middle
. Before it was necessary as Sir
was part of TyCtxt
, but it isn't anymore. Combined with the third commit it also makes the diff with upstream of rustc_middle
empty.
OK. I remember having a hell of a time juggling the dependencies when writing that code, so these simplifications are welcomed.
Let me check one thing. What was the crate hash is now a hash derived from the cgu name and the Svh.
The Svh is the same thing as the crate hash, right?
Yes, that is both correct. The crate_hash
field should probably be renamed in a future yk PR.
Yes, that is both correct. The crate_hash field should probably be renamed in a future yk PR.
Yes there's going to need to be a follow up PR checking all uses of the term in our ykrustc changes and in the yk repo too.
How about cgu_hash
?
Does the yk repo still work with this change?
@ptersilie what do you think?
Does the yk repo still work with this change?
Yes, I have tested it. No changes to yk are necessary.
Looks good to me.
Please squash.
Splat
bors r+
Build succeeded:
I've added Lukas as well, as I want to make sure he's OK with this.