-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encode CrateNum using the StableCrateId for incr. comp. #85834
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 16f14ce3c06befe9cec6816e2b6a58116ec727d1 with merge dcfa6edd50bc82bf09cf95ed74f9333e58748b93... |
☀️ Try build successful - checks-actions |
Queued dcfa6edd50bc82bf09cf95ed74f9333e58748b93 with parent 5957990, future comparison URL. |
if *self != LOCAL_CRATE { | ||
s.latest_foreign_def_path_hashes | ||
.insert(def_path_hash, RawDefId { krate: self.as_u32(), index: 0 }); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary?
} else { | ||
self.cstore.stable_crate_id_untracked(cnum) | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be used in many places. I would guess it happens like 20-30 times.
Finished benchmarking try commit (dcfa6edd50bc82bf09cf95ed74f9333e58748b93): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
Mixed small improvements and regressions. |
r? @michaelwoerister (as a stepping stone for the odht PR) |
☔ The latest upstream changes (presumably #85891) made this pull request unmergeable. Please resolve the merge conflicts. |
It's on my todo list :) |
☔ The latest upstream changes (presumably #86150) made this pull request unmergeable. Please resolve the merge conflicts. |
📌 Commit f387cff has been approved by |
☀️ Test successful - checks-actions |
…6368, r=Mark-Simulacrum Backport rust-lang#85834 and rust-lang#86368 As per discussion in https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/backport.20.2386368, backporting rust-lang#85834 too seems like the safest option for cleanly backporting rust-lang#86368. r? `@Mark-Simulacrum`
No description provided.