Skip to content
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

Update for merge of CrateDisambiguator into StableCrateId #1135

Merged
merged 1 commit into from
Jul 13, 2021

Conversation

bjorn3
Copy link
Member

@bjorn3 bjorn3 commented May 30, 2021

Comment on lines +128 to +129
like the package version, source, and the target kind (a lib and test can have
the same crate name, so they need to be disambiguated).
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the bin crate type is used, this is included in the hash and as such a lib and bin never have the same hash. The comment about this describes this exact use case. This was true even before CrateDisambiguator was merged into StableCrateId.

@Mark-Simulacrum
Copy link
Member

The relevant PR upstream might get reverted (rust-lang/rust#85804 (comment)) so we may want to hold off on this for a bit.

@LeSeulArtichaut LeSeulArtichaut added the blocked This PR is blocked waiting for some other PR label Jun 1, 2021
@JohnTitor
Copy link
Member

FYI: revert revert PR (rust-lang/rust#86143) is on review.

@JohnTitor JohnTitor added waiting-on-review This PR is waiting for a reviewer to verify its content and removed blocked This PR is blocked waiting for some other PR labels Jul 13, 2021
@JohnTitor
Copy link
Member

The above PR has been merged 🎉 @bjorn3 IIUC this PR doesn't need an additional change and we can merge it now, right?

@bjorn3
Copy link
Member Author

bjorn3 commented Jul 13, 2021

Correct.

@jyn514 jyn514 merged commit 93422c2 into master Jul 13, 2021
@jyn514 jyn514 deleted the no-more-crate-disambiguator branch July 13, 2021 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-on-review This PR is waiting for a reviewer to verify its content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants