Skip to content

Commit eda1a7a

Browse files
committed
Auto merge of #68755 - Tyg13:update_stdarch, r=alexcrichton
Update `rust-lang/stdarch` submodule Update submodule [rust-lang/stdarch](https://github.com./rust-lang/stdarch/)
2 parents 4ff8fb9 + 9fa54e5 commit eda1a7a

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

src/libstd/lib.rs

-6
Original file line numberDiff line numberDiff line change
@@ -334,12 +334,6 @@ extern crate libc;
334334
#[allow(unused_extern_crates)]
335335
extern crate unwind;
336336

337-
// Only needed for now for the `std_detect` module until that crate changes to
338-
// use `cfg_if::cfg_if!`
339-
#[macro_use]
340-
#[cfg(not(test))]
341-
extern crate cfg_if;
342-
343337
// During testing, this crate is not actually the "real" std library, but rather
344338
// it links to the real std library, which was compiled from this same source
345339
// code. So any lang items std defines are conditionally excluded (or else they

src/libstd/tests/run-time-detect.rs

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
all(target_arch = "aarch64", any(target_os = "linux", target_os = "android")),
77
all(target_arch = "powerpc", target_os = "linux"),
88
all(target_arch = "powerpc64", target_os = "linux"),
9+
any(target_arch = "x86", target_arch = "x86_64"),
910
),
1011
feature(stdsimd)
1112
)]

src/stdarch

Submodule stdarch updated 64 files

0 commit comments

Comments
 (0)