Skip to content

Commit 6f3aea0

Browse files
committed
Auto merge of #157869 - arjunr2:bump-cc, r=<try>
bootstrap: update cc-rs to `1.2.62` try-job: dist* try-job: *aarch64*
2 parents ff64732 + 247a8f4 commit 6f3aea0

4 files changed

Lines changed: 10 additions & 7 deletions

File tree

src/bootstrap/Cargo.lock

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,11 @@ dependencies = [
9595

9696
[[package]]
9797
name = "cc"
98-
version = "1.2.28"
98+
version = "1.2.62"
9999
source = "registry+https://github.com/rust-lang/crates.io-index"
100-
checksum = "4ad45f4f74e4e20eaa392913b7b33a7091c87e59628f4dd27888205ad888843c"
100+
checksum = "a1dce859f0832a7d088c4f1119888ab94ef4b5d6795d1ce05afb7fe159d79f98"
101101
dependencies = [
102+
"find-msvc-tools",
102103
"shlex",
103104
]
104105

@@ -277,6 +278,12 @@ dependencies = [
277278
"libredox",
278279
]
279280

281+
[[package]]
282+
name = "find-msvc-tools"
283+
version = "0.1.9"
284+
source = "registry+https://github.com/rust-lang/crates.io-index"
285+
checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
286+
280287
[[package]]
281288
name = "generic-array"
282289
version = "0.14.7"

src/bootstrap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test = false
3232
# Most of the time updating these dependencies requires modifications to the
3333
# bootstrap codebase(e.g., https://github.com/rust-lang/rust/issues/124565);
3434
# otherwise, some targets will fail. That's why these dependencies are explicitly pinned.
35-
cc = "=1.2.28"
35+
cc = "=1.2.62"
3636
cmake = "=0.1.54"
3737

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

src/bootstrap/src/core/build_steps/llvm.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1733,7 +1733,6 @@ impl Step for Libunwind {
17331733
cfg.out_dir(&out_dir);
17341734

17351735
if self.target.contains("x86_64-fortanix-unknown-sgx") {
1736-
cfg.static_flag(true);
17371736
cfg.flag("-fno-stack-protector");
17381737
cfg.flag("-ffreestanding");
17391738
cfg.flag("-fexceptions");

src/bootstrap/src/utils/cc_detect.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ fn new_cc_build(build: &Build, target: TargetSelection) -> cc::Build {
4848
if target.is_msvc() {
4949
cfg.static_crt(true);
5050
}
51-
if target.contains("musl") {
52-
cfg.static_flag(true);
53-
}
5451
}
5552
}
5653
cfg

0 commit comments

Comments
 (0)