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

Ensure that SxS installation of crates from multiple compilers works reliably #29560

Closed
brson opened this Issue Nov 4, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@brson
Copy link
Contributor

brson commented Nov 4, 2015

For SxS installations of arbitrary Rust compilers, there will be multiple copies of the standard library residing in the same path. Without care, rustc will see them as duplicates.

Neither @alexcrichton or I am confident that the current crate resolver correctly rejects crates that weren't generated by the same compiler, though we suspect it works correctly in most scenarios.

Tightening this up further could have negative implications for e.g. a distributed Cargo cache, depending on how strict rustc is about rejecting crates it didn't produce.

I'm not sure how real this problem is but probably needs some thought.

https://internals.rust-lang.org/t/perfecting-rust-packaging-the-plan/2767

@steveklabnik steveklabnik added the A-build label Nov 4, 2015

@steveklabnik

This comment has been minimized.

Copy link
Member

steveklabnik commented Mar 8, 2017

Triage: dunno if @brson gave this any thought yet exactly 😄

@steveklabnik

This comment has been minimized.

Copy link
Member

steveklabnik commented Mar 16, 2019

Triage: it seems packaging is working well, and brson doesn't work on Rust anymore. I'm going to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.