Uh oh!
There was an error while loading. Please reload this page.
bootstrap: use internment instead of hand-rolled interning - #128289
bootstrap: use internment instead of hand-rolled interning#128289GrigorenkoPV wants to merge 1 commit into
internment instead of hand-rolled interning#128289Conversation
rustbot
commented
Jul 27, 2024
This comment has been minimized.
This comment has been minimized.
bors
commented
Jul 29, 2024
☔ The latest upstream changes (presumably #125443) made this pull request unmergeable. Please resolve the merge conflicts. |
ca64da2 to
3f2af36Compare
This comment has been minimized.
This comment has been minimized.
3f2af36 to
585ee32Comparerustbot
commented
Sep 14, 2024
This PR modifies If appropriate, please update |
GrigorenkoPV
commented
Sep 14, 2024
Unfortunately, this pulls in hashbrown, so probably not worth it |
bors
commented
Sep 23, 2024
☔ The latest upstream changes (presumably #130724) made this pull request unmergeable. Please resolve the merge conflicts. |
585ee32 to
aeb7d64Comparebors
commented
Sep 30, 2024
☔ The latest upstream changes (presumably #130951) made this pull request unmergeable. Please resolve the merge conflicts. |
Dylan-DPC
commented
Nov 5, 2024
@GrigorenkoPV what's the status on this? maybe you can resolve the conflicts and we can push this forward |
aeb7d64 to
6d676d0CompareGrigorenkoPV
commented
Nov 10, 2024
@rustbot ready |
rust-log-analyzer
commented
Nov 10, 2024
The job Click to see the possible cause of the failure (guessed by this bot) |
I'll ask T-compiler leads regarding the license, AFAICT |
GrigorenkoPV
commented
Nov 11, 2024
Well, it comes as a dependency from the hashbrown crate. And no, it does not seem to be dual licensed. Anyways, I'm not sure, what do I have to do now? Since it's S-waiting-on-author |
Sorry, I meant to change to S-waiting-for-compiler-leads (S-blocked) :3 because:
|
Kobzol
commented
Nov 11, 2024
While I like the code simplification, as usually, adding a dependency to bootstrap is a very hard sell. This increases the number of dependencies from 86 to 91, for relatively little gain. This code was written in ~2017, and from that time it required only very little maintenance (apart from some Clippy lint fixes and some small refactoring), and it seems to be working just fine. Yes, we found a case of unsoundness in it once, but now that the two unsafe lines of code in it were heavily reviewed, I trust that it should be OK. CC also @onur-ozkan |
jieyouxu
commented
Nov 11, 2024
For more context on why, bootstrap needs to keep minimal deps as it needs to build fast. |
onur-ozkan
commented
Nov 11, 2024
Completely agree. |
Kobzol
commented
Nov 11, 2024
The original issue has mentioned the We should probably make a t-bootstrap decision on what to do about #109859, to avoid sending mixed signals that we want to remove all |
Mark-Simulacrum
commented
Nov 11, 2024
Yeah, I'm guessing we should just close the issue - I also don't think removing (moving!) all unsafe code to dependencies is a particularly worthwhile goal in and of itself. In this particular case as others have said the code works and is pretty cheap to maintain. I don't think a dependency benefits us enough to move to it. |
GrigorenkoPV
commented
Nov 11, 2024
I also do not think moving |
Kobzol
commented
Nov 12, 2024
Sorry for the previous confusion. Thank you for working on this, and making the other changes that were already merged! |
jieyouxu
commented
Nov 12, 2024
Yeah, we should've updated that issue earlier. Sorry for the confusion and thanks for the PR! |
Part of the #109859.