-
Notifications
You must be signed in to change notification settings - Fork 8
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
Consider doing a forced lock of the standard library. #38
Comments
I agree with this in spirit, but Either way, agreed would be good to implement! |
I think it might make more sense to do this in a cargo test. I'm not sure what user configuration could break this behaviour (patching dependencies, and ignoring the lockfile with |
With rust-lang/rust#128534 and rust-lang/cargo#14358, it is possible to implement the |
This would remove the need for rust-lang/cargo#13916, correct? My understanding is that we'd still end up with a subset of the original lockfile but can actually use the lockfile on disk now, making the checks unnecessary. |
Yes. I'll close that one. Thank you for taking care of it. |
It indeed breaks Cargo recently got the |
Cargo has an internal env var to specify the location to search for the standard library sources. Maybe everyone who wants to patch the standard library or it's dependencies could be made to use this env var and only force |
vendoring is another thing that makes things go wrong with build-std. |
In what way do you mean? |
Cargo fails to find the std dependencies, starting with compiler_builtins. |
If it's not related to |
It might be a good idea to do the equivalent of
--locked
for the standard library to ensure that theCargo.lock
isn't modified, and that it is correct.The text was updated successfully, but these errors were encountered: