-
Notifications
You must be signed in to change notification settings - Fork 13k
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
x.py dist shouldn’t require network access #79218
Comments
I am happy to accept a patch for this; if it is not small (e.g., just adding offline) we will likely end up wanting to revert #78790 on beta. |
Is this really P-critical? I would think this is P-high since P-critical is usually reserved for severe user-facing bugs. |
I consider inability for distros to build a particular version of Rust to be a release blocker. |
Here what i've tried so far:
None of those worked out, last failure:
|
With just the
|
Ah, I didn't realize it was that bad! Sorry about that. |
cc @rust-lang/cargo -- do we expect cargo vendor to work without network when vendoring a subset of a workspace? It looks like we're running into some trouble here to get it working, though I've not personally had time yet to test. cc @Gankra as well |
I believe Cargo is working as intended here, when you run I think the fix here is to either get Cargo to see the |
Will give the edit: assuming adding the patch section to e.g. libtest Cargo.toml can work |
Sadly, we need to copy the [patch] section from the toplevel Cargo.toml for the --offline mode to properly work Fixes rust-lang#79218 Signed-off-by: Marc-Antoine Perennou <[email protected]>
I have posted a revert for the current release (#80082) since there were several issues on the Cargo side, too. Hopefully we'll try to avoid these issues when we try again. |
Since #78790 we run cargo vendor unconditionally to vendor libtest in libstd.
We should either pass it '--offline' or add a way to conditionally do so to avoid using network when unnecessary
The text was updated successfully, but these errors were encountered: