-
Notifications
You must be signed in to change notification settings - Fork 434
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
create_universe
no longer assumes the name of rust_repository repos
#805
Conversation
dbc19e9
to
a285fe2
Compare
Is it possible to add arguments which take labels pointing at the right artifacts which can be already-loaded using |
Possibly? The thing I wanted to avoid is having |
I'm not sure what kind of implementation I'm imagining to be honest... I guess |
Would it be acceptable to allow the user to pass a dict of |
What does "its own binaries" mean? I'd expect that if you don't specify an explicit value for the arg, it would use whatever I guess my answer is: If by "its own binaries" you mean "its own binaries, which happen to be the same ones as |
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.
Works for me! Thanks
Co-authored-by: Daniel Wagner-Hall <[email protected]>
Co-authored-by: Daniel Wagner-Hall <[email protected]>
crate_universe
doesn't work if the user defines their own rust repositories with custom names. The coupling between these repository names is nice to avoid re-downloading assets but is ultimately a bad assumption to make. This change makescrate_universe
isolated and in the future we can find ways of optimizing this fetch (though, the fetch shouldn't be an issue since we're using Bazel's HTTP downloader which would cache the artifact. The only time spent is in extracting the tar files).