-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 cc crate for bootstrap #122507
Update cc crate for bootstrap #122507
Conversation
Reason: In order to build the Windows version of the Rust toolchain for the Android platform, the following patch to the cc is crate is required to avoid incorrectly determining that we are building with the Android NDK: rust-lang/cc-rs@57853c4 This patch is present in version 1.0.80 and newer versions of the cc crate. The rustc source distribution currently has 3 different versions of cc in the vendor directory, only one of which has the necessary fix. We (the Android Rust toolchain) are currently maintaining local patches to upgrade the cc crate dependency versions, which we would like to upstream.
rustbot has assigned @Mark-Simulacrum. Use r? to explicitly pick a reviewer |
This is a more conservative version of #122504, updating the cc crate to 1.0.80, which is the earliest version with the required change. |
@@ -36,7 +36,7 @@ test = false | |||
# Most of the time updating these dependencies requires modifications | |||
# to the bootstrap codebase; otherwise, some targets will fail. That's | |||
# why these dependencies are explicitly pinned. | |||
cc = "=1.0.73" | |||
cc = "=1.0.80" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as #122504 (comment)
r? @onur-ozkan |
Without bootstrap changes, this will fail just like it did in #122504 (comment) @rustbot author |
@jfgoog any updates on this? thanks |
This can be closed I think. The main work goes in #122504 PR. |
Reason:
In order to build the Windows version of the Rust toolchain for the Android platform, the following patch to the cc is crate is required to avoid incorrectly determining that we are building with the Android NDK: rust-lang/cc-rs@57853c4
This patch is present in version 1.0.80 and newer versions of the cc crate. The rustc source distribution currently has 3 different versions of cc in the vendor directory, only one of which has the necessary fix.
We (the Android Rust toolchain) are currently maintaining local patches to upgrade the cc crate dependency versions, which we would like to upstream.