Skip to content

Commit 6fa4b85

Browse files
authored
Update version of cc crate (#592)
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 ea7dc8e commit 6fa4b85

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

Cargo.lock

+2-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ winapi = { version = "0.3.9", optional = true }
5454
[build-dependencies]
5555
# Only needed for Android, but cannot be target dependent
5656
# https://github.com/rust-lang/cargo/issues/4932
57-
cc = "1.0.67"
57+
cc = "1.0.90"
5858

5959
[dev-dependencies]
6060
dylib-dep = { path = "crates/dylib-dep" }

crates/as-if-std/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ features = ['read_core', 'elf', 'macho', 'pe', 'xcoff', 'unaligned', 'archive']
2828

2929
[build-dependencies]
3030
# Dependency of the `backtrace` crate
31-
cc = "1.0.67"
31+
cc = "1.0.90"
3232

3333
[features]
3434
default = ['backtrace']

0 commit comments

Comments
 (0)