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

Fix crate_universe when using bzlmod #2485

Closed
wants to merge 3 commits into from

Conversation

AmeliasCode
Copy link
Contributor

Addresses the issue raised here: #2483

Now, we programmatically determine the canonical repository name prefix. This assumes that the repositories created by crate_universe will all inherit the same prefix as rules_rust.

If there is a more ideal approach to determining the canonical repository name, please suggest! I was unable to find anything else.

Additionally, I'm not sure how to code a test case against this, since we have to override the rules_rust location in order to test it?

@cameron-martin
Copy link
Contributor

Btw I don't think this is the correct fix. See #2483 (comment)

@AmeliasCode
Copy link
Contributor Author

Withdrawing, as @cameron-martin has raised a better fix: #2491

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants