Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 849a60a

Browse files
authoredFeb 25, 2025
Rollup merge of rust-lang#137460 - onur-ozkan:downgrade-cc, r=jieyouxu
downgrade bootstrap `cc` Current `cc` version causing bootstrap to fail on custom targets. See rust-lang/cc-rs#1317 for more context. Fixes (after beta and stable backports): rust-lang#137064 and rust-lang#135271
2 parents da31d84 + e4ca11f commit 849a60a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

‎src/bootstrap/Cargo.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ dependencies = [
8888

8989
[[package]]
9090
name = "cc"
91-
version = "1.2.0"
91+
version = "1.1.22"
9292
source = "registry+https://github.com/rust-lang/crates.io-index"
93-
checksum = "1aeb932158bd710538c73702db6945cb68a8fb08c519e6e12706b94263b36db8"
93+
checksum = "9540e661f81799159abee814118cc139a2004b3a3aa3ea37724a1b66530b90e0"
9494
dependencies = [
9595
"shlex",
9696
]

‎src/bootstrap/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ test = false
3737
# Most of the time updating these dependencies requires modifications to the
3838
# bootstrap codebase(e.g., https://github.com/rust-lang/rust/issues/124565);
3939
# otherwise, some targets will fail. That's why these dependencies are explicitly pinned.
40-
cc = "=1.2.0"
40+
#
41+
# Do not upgrade this crate unless https://github.com/rust-lang/cc-rs/issues/1317 is fixed.
42+
cc = "=1.1.22"
4143
cmake = "=0.1.48"
4244

4345
build_helper = { path = "../build_helper" }

0 commit comments

Comments
 (0)
Failed to load comments.