From 9fa54e594b371bda6e8a2bb570e645d5aa61820b Mon Sep 17 00:00:00 2001 From: Tyler Lanphear Date: Sat, 1 Feb 2020 19:11:33 -0500 Subject: [PATCH] stdarch: update submodule. --- src/libstd/lib.rs | 6 ------ src/libstd/tests/run-time-detect.rs | 1 + src/stdarch | 2 +- 3 files changed, 2 insertions(+), 7 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 index e0ab2c165ac..dea57529b36 160000 --- a/src/stdarch +++ b/src/stdarch @@ -1 +1 @@ -Subproject commit e0ab2c165ace03a61139b61f1d9b86b07028850f +Subproject commit dea57529b3695605909e7d327bb6551d7a10c788