From 3070d8beed7c8a2e3adb164b23223a8527210c21 Mon Sep 17 00:00:00 2001 From: clubby789 Date: Sun, 28 Jan 2024 19:12:42 +0000 Subject: [PATCH] Pin `cc` version --- compiler/rustc_llvm/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/compiler/rustc_llvm/Cargo.toml b/compiler/rustc_llvm/Cargo.toml index 58e219e5a463d..a89308fe4a2f4 100644 --- a/compiler/rustc_llvm/Cargo.toml +++ b/compiler/rustc_llvm/Cargo.toml @@ -9,6 +9,10 @@ libc = "0.2.73" # tidy-alphabetical-end [build-dependencies] +# 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 # tidy-alphabetical-start -cc = "1.0.69" +cc = "=1.0.79" # tidy-alphabetical-end