about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTyler Lanphear <animemachine13@gmail.com>2020-02-01 19:11:33 -0500
committerTyler Lanphear <animemachine13@gmail.com>2020-02-01 22:04:18 -0500
commit9fa54e594b371bda6e8a2bb570e645d5aa61820b (patch)
tree540267b904101885c6fc059f59aa26ed06184de8 /src
parente5b150edafc0e72cd7f5f3f67a4e8b417d515b01 (diff)
downloadrust-9fa54e594b371bda6e8a2bb570e645d5aa61820b.tar.gz
rust-9fa54e594b371bda6e8a2bb570e645d5aa61820b.zip
stdarch: update submodule.
Diffstat (limited to 'src')
-rw-r--r--src/libstd/lib.rs6
-rw-r--r--src/libstd/tests/run-time-detect.rs1
m---------src/stdarch0
3 files changed, 1 insertions, 6 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index bc07c6b487b..2f27bfc2255 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -335,12 +335,6 @@ extern crate libc;
 #[allow(unused_extern_crates)]
 extern crate unwind;
 
-// Only needed for now for the `std_detect` module until that crate changes to
-// use `cfg_if::cfg_if!`
-#[macro_use]
-#[cfg(not(test))]
-extern crate cfg_if;
-
 // During testing, this crate is not actually the "real" std library, but rather
 // it links to the real std library, which was compiled from this same source
 // code. So any lang items std defines are conditionally excluded (or else they
diff --git a/src/libstd/tests/run-time-detect.rs b/src/libstd/tests/run-time-detect.rs
index e39cc1eed5e..2e6d1bc8efd 100644
--- a/src/libstd/tests/run-time-detect.rs
+++ b/src/libstd/tests/run-time-detect.rs
@@ -6,6 +6,7 @@
         all(target_arch = "aarch64", any(target_os = "linux", target_os = "android")),
         all(target_arch = "powerpc", target_os = "linux"),
         all(target_arch = "powerpc64", target_os = "linux"),
+        any(target_arch = "x86", target_arch = "x86_64"),
     ),
     feature(stdsimd)
 )]
diff --git a/src/stdarch b/src/stdarch
-Subproject e0ab2c165ace03a61139b61f1d9b86b07028850
+Subproject dea57529b3695605909e7d327bb6551d7a10c78