Skip to content

Commit dd52bc2

Browse files
committed
Auto merge of rust-lang#137724 - jieyouxu:hotfix-cc-x86, r=<try>
[DO NOT MERGE] Test `cc` x86 clang-cl fix https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/spurious.20.28.3F.29.20i686.20msvc.20errors Try to use `/arch:SSE2` instead of `/arch:IA32` for `clang-cl`. r? ghost try-job: i686-msvc-1 try-job: i686-msvc-2 try-job: dist-i686-msvc
2 parents 96cfc75 + ac77056 commit dd52bc2

File tree

4 files changed

+36
-21
lines changed

4 files changed

+36
-21
lines changed

Cargo.lock

+22-14
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
211211
checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d"
212212
dependencies = [
213213
"addr2line",
214-
"cc",
214+
"cc 1.2.13",
215215
"cfg-if",
216216
"libc",
217217
"miniz_oxide 0.7.4",
@@ -257,7 +257,7 @@ checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e"
257257
dependencies = [
258258
"arrayref",
259259
"arrayvec",
260-
"cc",
260+
"cc 1.2.13",
261261
"cfg-if",
262262
"constant_time_eq",
263263
]
@@ -414,6 +414,14 @@ dependencies = [
414414
"shlex",
415415
]
416416

417+
[[package]]
418+
name = "cc"
419+
version = "1.2.15"
420+
source = "git+https://github.com/jieyouxu/cc-rs?branch=x86_ia32#4727ebd88026d96c3c6d924cf630a570f7ff6c86"
421+
dependencies = [
422+
"shlex",
423+
]
424+
417425
[[package]]
418426
name = "cfg-if"
419427
version = "1.0.0"
@@ -847,7 +855,7 @@ version = "0.4.78+curl-8.11.0"
847855
source = "registry+https://github.com/rust-lang/crates.io-index"
848856
checksum = "8eec768341c5c7789611ae51cf6c459099f22e64a5d5d0ce4892434e33821eaf"
849857
dependencies = [
850-
"cc",
858+
"cc 1.2.13",
851859
"libc",
852860
"libz-sys",
853861
"openssl-sys",
@@ -1594,7 +1602,7 @@ version = "0.1.2"
15941602
source = "registry+https://github.com/rust-lang/crates.io-index"
15951603
checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
15961604
dependencies = [
1597-
"cc",
1605+
"cc 1.2.13",
15981606
]
15991607

16001608
[[package]]
@@ -1992,7 +2000,7 @@ version = "0.2.5"
19922000
source = "registry+https://github.com/rust-lang/crates.io-index"
19932001
checksum = "06085512b750d640299b79be4bad3d2fa90a9c00b1fd9e1b46364f66f0485c72"
19942002
dependencies = [
1995-
"cc",
2003+
"cc 1.2.13",
19962004
"pkg-config",
19972005
]
19982006

@@ -2012,7 +2020,7 @@ version = "2.3.0"
20122020
source = "registry+https://github.com/rust-lang/crates.io-index"
20132021
checksum = "f36115160c57e8529781b4183c2bb51fdc1f6d6d1ed345591d84be7703befb3c"
20142022
dependencies = [
2015-
"cc",
2023+
"cc 1.2.13",
20162024
]
20172025

20182026
[[package]]
@@ -2048,7 +2056,7 @@ version = "1.1.21"
20482056
source = "registry+https://github.com/rust-lang/crates.io-index"
20492057
checksum = "df9b68e50e6e0b26f672573834882eb57759f6db9b3be2ea3c35c91188bb4eaa"
20502058
dependencies = [
2051-
"cc",
2059+
"cc 1.2.13",
20522060
"libc",
20532061
"pkg-config",
20542062
"vcpkg",
@@ -2120,7 +2128,7 @@ version = "0.1.20"
21202128
source = "registry+https://github.com/rust-lang/crates.io-index"
21212129
checksum = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27"
21222130
dependencies = [
2123-
"cc",
2131+
"cc 1.2.13",
21242132
"libc",
21252133
"pkg-config",
21262134
]
@@ -2490,7 +2498,7 @@ version = "0.9.104"
24902498
source = "registry+https://github.com/rust-lang/crates.io-index"
24912499
checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741"
24922500
dependencies = [
2493-
"cc",
2501+
"cc 1.2.13",
24942502
"libc",
24952503
"pkg-config",
24962504
"vcpkg",
@@ -2755,7 +2763,7 @@ version = "0.1.25"
27552763
source = "registry+https://github.com/rust-lang/crates.io-index"
27562764
checksum = "f58e5423e24c18cc840e1c98370b3993c6649cd1678b4d24318bcf0a083cbe88"
27572765
dependencies = [
2758-
"cc",
2766+
"cc 1.2.13",
27592767
]
27602768

27612769
[[package]]
@@ -3403,7 +3411,7 @@ dependencies = [
34033411
"arrayvec",
34043412
"bitflags",
34053413
"bstr",
3406-
"cc",
3414+
"cc 1.2.15",
34073415
"either",
34083416
"itertools",
34093417
"libc",
@@ -3939,7 +3947,7 @@ dependencies = [
39393947
name = "rustc_llvm"
39403948
version = "0.0.0"
39413949
dependencies = [
3942-
"cc",
3950+
"cc 1.2.15",
39433951
"libc",
39443952
]
39453953

@@ -4962,7 +4970,7 @@ version = "0.1.18"
49624970
source = "registry+https://github.com/rust-lang/crates.io-index"
49634971
checksum = "1d08feb8f695b465baed819b03c128dc23f57a694510ab1f06c77f763975685e"
49644972
dependencies = [
4965-
"cc",
4973+
"cc 1.2.13",
49664974
"cfg-if",
49674975
"libc",
49684976
"psm",
@@ -5270,7 +5278,7 @@ version = "0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7"
52705278
source = "registry+https://github.com/rust-lang/crates.io-index"
52715279
checksum = "cd3c60906412afa9c2b5b5a48ca6a5abe5736aec9eb48ad05037a677e52e4e2d"
52725280
dependencies = [
5273-
"cc",
5281+
"cc 1.2.13",
52745282
"libc",
52755283
]
52765284

compiler/rustc_codegen_ssa/Cargo.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ bitflags = "2.4.1"
1111
bstr = "1.11.3"
1212
# Pinned so `cargo update` bumps don't cause breakage. Please also update the
1313
# `cc` in `rustc_llvm` if you update the `cc` here.
14-
cc = "=1.2.13"
14+
15+
# FIXME(jieyouxu): experimental, DO NOT MERGE
16+
cc = { git = "https://github.com/jieyouxu/cc-rs", branch = "x86_ia32" }
17+
1518
either = "1.5.0"
1619
itertools = "0.12"
1720
pathdiff = "0.2.0"

compiler/rustc_llvm/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ libc = "0.2.73"
1212
# tidy-alphabetical-start
1313
# Pinned so `cargo update` bumps don't cause breakage. Please also update the
1414
# pinned `cc` in `rustc_codegen_ssa` if you update `cc` here.
15-
cc = "=1.2.13"
15+
16+
# FIXME(jieyouxu): experimental, DO NOT MERGE
17+
cc = { git = "https://github.com/jieyouxu/cc-rs", branch = "x86_ia32" }
1618
# tidy-alphabetical-end

src/tools/tidy/src/extdeps.rs

+7-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::fs;
44
use std::path::Path;
55

66
/// List of allowed sources for packages.
7-
const ALLOWED_SOURCES: &[&str] = &[
7+
const _ALLOWED_SOURCES: &[&str] = &[
88
r#""registry+https://github.com/rust-lang/crates.io-index""#,
99
// This is `rust_team_data` used by `site` in src/tools/rustc-perf,
1010
r#""git+https://github.com/rust-lang/team#a5260e76d3aa894c64c56e6ddc8545b9a98043ec""#,
@@ -38,12 +38,14 @@ pub fn check(root: &Path, bad: &mut bool) {
3838
}
3939

4040
// Extract source value.
41-
let source = line.split_once('=').unwrap().1.trim();
41+
let _source = line.split_once('=').unwrap().1.trim();
4242

4343
// Ensure source is allowed.
44-
if !ALLOWED_SOURCES.contains(&&*source) {
45-
tidy_error!(bad, "invalid source: {}", source);
46-
}
44+
//
45+
// FIXME(jieyouxu): DO NOT MERGE, but trust me bro
46+
//if !ALLOWED_SOURCES.contains(&&*source) {
47+
// tidy_error!(bad, "invalid source: {}", source);
48+
//}
4749
}
4850
}
4951
}

0 commit comments

Comments
 (0)