Skip to content

Commit 1a31a72

Browse files
authored
Unrolled build for #144626
Rollup merge of #144626 - RalfJung:cc-pin-comment, r=lqd cc dependencies: clarify comment This caused confusion in #144570 r? ``@jieyouxu``
2 parents 5529041 + e532080 commit 1a31a72

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compiler/rustc_codegen_ssa/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ edition = "2024"
88
ar_archive_writer = "0.4.2"
99
bitflags = "2.4.1"
1010
bstr = "1.11.3"
11-
# Pinned so `cargo update` bumps don't cause breakage. Please also update the
12-
# `cc` in `rustc_llvm` if you update the `cc` here.
11+
# `cc` updates often break things, so we pin it here. Cargo enforces "max 1 semver-compat version
12+
# per crate", so if you change this, you need to also change it in `rustc_llvm`.
1313
cc = "=1.2.16"
1414
itertools = "0.12"
1515
pathdiff = "0.2.0"

compiler/rustc_llvm/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ libc = "0.2.73"
1010

1111
[build-dependencies]
1212
# tidy-alphabetical-start
13-
# Pinned so `cargo update` bumps don't cause breakage. Please also update the
14-
# pinned `cc` in `rustc_codegen_ssa` if you update `cc` here.
13+
# `cc` updates often break things, so we pin it here. Cargo enforces "max 1 semver-compat version
14+
# per crate", so if you change this, you need to also change it in `rustc_codegen_ssa`.
1515
cc = "=1.2.16"
1616
# tidy-alphabetical-end
1717

0 commit comments

Comments
 (0)