Skip to content

Commit 0ded290

Browse files
committed
Update version of cc crate
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.
1 parent 65cd843 commit 0ded290

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/bootstrap/Cargo.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ dependencies = [
9898

9999
[[package]]
100100
name = "cc"
101-
version = "1.0.73"
101+
version = "1.0.90"
102102
source = "registry+https://github.com/rust-lang/crates.io-index"
103-
checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
103+
checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5"
104104

105105
[[package]]
106106
name = "cfg-if"

src/bootstrap/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ test = false
3636
# Most of the time updating these dependencies requires modifications
3737
# to the bootstrap codebase; otherwise, some targets will fail. That's
3838
# why these dependencies are explicitly pinned.
39-
cc = "=1.0.73"
39+
cc = "=1.0.90"
4040
cmake = "=0.1.48"
4141

4242
build_helper = { path = "../tools/build_helper" }

0 commit comments

Comments
 (0)