about summary refs log tree commit diff
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2024-02-13 21:13:06 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2024-02-13 21:13:06 +0000
commit002181f3ce06436baaa343525250848a29070ca9 (patch)
treed02ea4f72ed53c749e030c5d6267eb764b9c3d1b
parent36a16798f798eb59db21ff2a8a163135b4a599fe (diff)
downloadrust-002181f3ce06436baaa343525250848a29070ca9.tar.gz
rust-002181f3ce06436baaa343525250848a29070ca9.zip
Pin `cc` version
-rw-r--r--compiler/rustc_llvm/Cargo.toml7
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/Cargo.toml b/compiler/rustc_llvm/Cargo.toml
index 58e219e5a46..6598f1db86d 100644
--- a/compiler/rustc_llvm/Cargo.toml
+++ b/compiler/rustc_llvm/Cargo.toml
@@ -8,7 +8,12 @@ edition = "2021"
 libc = "0.2.73"
 # tidy-alphabetical-end
 
+# FIXME: updating cc past 1.0.79 breaks libstd bootstrapping, pin
+# to the last working version here so `cargo update` doesn't cause the
+# a higher version to be selected
+# https://github.com/rust-lang/cc-rs/issues/913
+# 1.0.{84, 85} fix this but have been yanked
 [build-dependencies]
 # tidy-alphabetical-start
-cc = "1.0.69"
+cc = "=1.0.79"
 # tidy-alphabetical-end