-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[beta] rustbuild: set __CARGO_DEFAULT_LIB_METADATA to channel #43022
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
Conversation
Signed-off-by: Marc-Antoine Perennou <[email protected]>
This brings in tests fixes and the new handling of __CARGO_DEFAULT_LIB_METADATA Signed-off-by: Marc-Antoine Perennou <[email protected]>
(rust_highfive has picked a reviewer for you, use r? to override) |
I think this needs to update Cargo.lock as well? Something like |
@Mark-Simulacrum Out of curiosity, what would require such a change? There's no Cargo.toml change in this pull request |
Right, but if you look at the Cargo.lock, https://github.com/rust-lang/rust/blob/beta/src/Cargo.lock#L149, the git commit hash is included. Cargo.toml has https://github.com/rust-lang/rust/blob/beta/src/Cargo.toml#L39, which is version-based, which is why it doesn't need an update. |
It's possible that in practice, this doesn't matter, since we use the submodule for Cargo and (perhaps?) Cargo ignores the commit hash in the submodule when utilizing the Cargo from there. The PR builder doesn't actually build the "extended" release so it's hard to check what happens based on that... |
Interresting. |
@alexcrichton Do you know if Cargo currently checks the git commit hash from Cargo.lock against submodules? It feels based on the above that it doesn't, which seems somewhat unfortunate... |
@bors: r+ @Mark-Simulacrum yeah I think it's definitely clear there's a bug/downside or two to how we redirect the rls to depend on the Cargo in-tree ... |
📌 Commit 427cbbc has been approved by |
[beta] rustbuild: set __CARGO_DEFAULT_LIB_METADATA to channel This is a backport of #42977 for beta
☀️ Test successful - status-appveyor, status-travis |
This is a backport of #42977 for beta