Uh oh!
There was an error while loading. Please reload this page.
use gcc::Build rather than deprecated gcc::Config - #43975
Conversation
alexcrichton
commented
Aug 18, 2017
@bors: r+ |
bors
commented
Aug 18, 2017
📌 Commit dac9a4e has been approved by |
bors
commented
Aug 19, 2017
⌛ Testing commit dac9a4eaff803747a2216263d97724701b0bcd40 with merge 51fd08cc86b50b4f5fbe3ff1afb32026e0a92102... |
bors
commented
Aug 19, 2017
💔 Test failed - status-appveyor |
RalfJung
commented
Aug 19, 2017
AppVeyor network issue. |
kennytm
commented
Aug 19, 2017
bors
commented
Aug 19, 2017
⌛ Testing commit dac9a4eaff803747a2216263d97724701b0bcd40 with merge 8448844271c663e5023915febf9797506d2a4676... |
bors
commented
Aug 19, 2017
💔 Test failed - status-appveyor |
kennytm
commented
Aug 19, 2017
I don't know, the log does not make any sense at all. Only the section from @bors retry Details |
bors
commented
Aug 19, 2017
⌛ Testing commit dac9a4eaff803747a2216263d97724701b0bcd40 with merge 5c0a340d472cbac99e58e30acf21facec2429974... |
bors
commented
Aug 19, 2017
💔 Test failed - status-appveyor |
RalfJung
commented
Aug 20, 2017
This looks legit -- not sure why it only shows on Windows though: @alexcrichton the build failure is inside the gcc crate, it seems? |
alexcrichton
commented
Aug 20, 2017
Yes that's apparently a bug in rustc, looks like it will need to be fixed before landing this |
RalfJung
commented
Aug 20, 2017
Conversation with @eddyb revealed the cause: The gcc crate gets compiled with There are various ways this could be fixed:
I think the last fix makes most sense. |
eddyb
commented
Aug 20, 2017
It was simply extra conservative AFAICT. I'd double-check with @alexcrichton but I believe what he meant earlier was that the error is unnecessary/wrong. OTOH, your last fix does sound pretty nice if it works in practice, and if nobody else disagrees. |
kennytm
commented
Aug 20, 2017
Given #30206 (comment), I think the preference is the second fix, and eventually phase out |
RalfJung
commented
Aug 20, 2017
I see. Well just removing the error would certainly be simpler to implement. However, are we sure that it is okay for the following code to compile: This shows that when |
eddyb
commented
Aug 20, 2017
The flag is unstable anyway though. |
kennytm
commented
Aug 20, 2017
The second and third fix can coexist AFAIK 🙂. |
petrochenkov
commented
Aug 20, 2017
It may look wrong, but it's by design. The |
RalfJung
commented
Aug 20, 2017
All right. My interpretation of this was that crates should opt-in to have staging API, and not just get that behavior as a side-effect of a flag that has a somewhat different purpose. Doesn't the feature change the behavior of the compiler for items that don't have stability annotation, making that a warning or even an error? IOW, this is unlike other features that, after stabilization, are just behaving as if the feature flag was present -- if In particular, isn't it the case that right now, we could actually remove I will change the error/lint to not fire if the crate doesn't set the |
alexcrichton
commented
Aug 20, 2017
The |
alexcrichton
commented
Sep 5, 2017
Yes a change in |
@alexcrichton like so? |
alexcrichton
commented
Sep 5, 2017
RalfJung
commented
Sep 5, 2017
Ah right. I will fix both of that. My question was mostly about "do we really want to blankly disable all warnings"? It seems the answer is "yes".^^ |
alexcrichton
commented
Sep 5, 2017
Yeah when compiling upstream projects we for sure want to disable all warnings. |
alexcrichton
commented
Sep 5, 2017
@bors: r+ |
bors
commented
Sep 5, 2017
📌 Commit 13cf229 has been approved by |
bors
commented
Sep 5, 2017
⌛ Testing commit 13cf229 with merge e7fa363fddf90d05ecae17d0ecf38760d8021873... |
bors
commented
Sep 5, 2017
💔 Test failed - status-travis |
alexcrichton
commented
Sep 5, 2017
@bors: retry
|
RalfJung
commented
Sep 6, 2017
@Others With japaric/xargo#166 now merged into xargo, xargo master should work again with the latest rustc nightly. |
bors
commented
Sep 6, 2017
⌛ Testing commit 13cf229 with merge bfa86877326c16a0e370525e5655112247e96162... |
bors
commented
Sep 6, 2017
💔 Test failed - status-travis |
alexcrichton
commented
Sep 6, 2017
@bors: retry
|
bors
commented
Sep 6, 2017
use gcc::Build rather than deprecated gcc::Config I did `cargo update -p gcc` to upgrade only this package. Is there further process that should be follwoed when updating a build dependency from crates.io? r? @alexcrichtonFixes#43973
bors
commented
Sep 6, 2017
☀️ Test successful - status-appveyor, status-travis |
@alexcrichton Is there any plan to update to gcc 0.3.54 soon to fix the regression in windows-msvc builds? Edit: That is, rust-lang/cc-rs@8ce7108 causes cmake-rs to send |
alexcrichton
commented
Sep 15, 2017
Arnavion
commented
Sep 15, 2017
Ah, thank you! I searched for "0.3.53", not "0.3.54" ... |
I did
cargo update -p gccto upgrade only this package. Is there further process that should be follwoed when updating a build dependency from crates.io?r? @alexcrichton
Fixes#43973