-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Update RLS and Cargo #44028
Update RLS and Cargo #44028
Conversation
@bors: r+ |
📌 Commit 9320718 has been approved by |
⌛ Testing commit 9320718ac08f1d1d7efe08c88276d99946c3a030 with merge 06fd0e5dedaba04b16bf58841fb379500ab433e5... |
💔 Test failed - status-appveyor |
Could not build stage0-rustc. Same problem as #43975 (comment).
|
Indeed, same problem in the same crate. Short version of the current status of the issue: The compilation fails because However, the fact that this flag even gets passed is a bug; there is code in bootstrap that clearly shows this flag is not supposed to be passed when building build scripts or plugins. This actually works on Linux, making the build succeed on my machine and on Travis. However, for some reason, on Windows the flag erroneously (?) gets passed. To debug further, I need someone to run |
@RalfJung the |
Without bumping stage0, I think we could either
diff --git a/src/bootstrap/Cargo.toml b/src/bootstrap/Cargo.toml
index daa2a3d0a0..a8db254fc9 100644
--- a/src/bootstrap/Cargo.toml
+++ b/src/bootstrap/Cargo.toml
@@ -34,7 +34,7 @@ cmake = "0.1.23"
filetime = "0.1"
num_cpus = "1.0"
getopts = "0.2"
-gcc = "0.3.50"
+gcc = "=0.3.51"
libc = "0.2"
serde = "1.0.8"
serde_derive = "1.0.8" |
For the second, not only |
@RalfJung I think as long as one dependency is locked, the others will all use 0.3.51 automatically. ( If not, all of the following needs to be changed
|
Isn't the build of boot strap and of the rest of the compiler done fairly separately? |
@RalfJung I thought they all share the same |
They probably do in the Rust build process. But that lock file is not part of rust-src, and so xargo has to do fresh dependency resolution. |
I just didn't bump GCC, seems to work on Linux, let's see if it passes bors. |
📌 Commit 22a148f has been approved by |
Unfortunately this doesn't help for the xargo use case :/ |
If it fails, please update again to include rust-lang/cargo#4429. |
@bors p=10 (causing bugs in the wild with the VSCode plugin) |
⌛ Testing commit 22a148f3a913e3fc01d1ee4679955e31f674239b with merge 52177580d8ee36c1fc383055df090619fb229cd3... |
💔 Test failed - status-travis |
I suspect there's a licensing issue going on... try downgrading https://softwareengineering.stackexchange.com/questions/121998/mit-vs-bsd-vs-dual-license |
@bors: r=alexcrichton p=10 |
📌 Commit 7584152 has been approved by |
⌛ Testing commit 7584152f9a3d65e9d580f49f68f6932bd838f645 with merge de5dbcb3339e8189cc2011714f44ba102f8d0797... |
💔 Test failed - status-travis |
x86_64-gnu-aux failed,
|
The This crates.io rust/src/tools/tidy/src/deps.rs Lines 27 to 36 in 426711d
|
Based on this, assigning back to author |
7584152
to
7cb3f45
Compare
@bors: r+ |
📌 Commit 7cb3f45 has been approved by |
Update RLS and Cargo r? @alexcrichton
☀️ Test successful - status-appveyor, status-travis |
r? @alexcrichton