2018-12-15 07:46:58 -06:00
|
|
|
From 8bce7b9601aec46ee7704027dc173257d3e43492 Mon Sep 17 00:00:00 2001
|
2018-10-06 04:12:06 -05:00
|
|
|
From: bjorn3 <bjorn3@users.noreply.github.com>
|
2018-12-15 07:46:58 -06:00
|
|
|
Date: Fri, 14 Dec 2018 13:09:42 +0100
|
2018-10-06 04:12:06 -05:00
|
|
|
Subject: [PATCH] Disable stdsimd
|
|
|
|
|
|
|
|
---
|
|
|
|
src/libcore/lib.rs | 2 ++
|
2018-12-15 07:46:58 -06:00
|
|
|
src/libstd/lib.rs | 4 +++-
|
|
|
|
2 files changed, 5 insertions(+), 1 deletion(-)
|
2018-10-06 04:12:06 -05:00
|
|
|
|
|
|
|
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
|
2018-12-15 07:46:58 -06:00
|
|
|
index a51674f..313c173 100644
|
2018-10-06 04:12:06 -05:00
|
|
|
--- a/src/libcore/lib.rs
|
|
|
|
+++ b/src/libcore/lib.rs
|
2018-12-15 07:46:58 -06:00
|
|
|
@@ -248,6 +248,7 @@ macro_rules! test_v256 { ($item:item) => {}; }
|
|
|
|
macro_rules! test_v512 { ($item:item) => {}; }
|
|
|
|
#[allow(unused_macros)]
|
|
|
|
macro_rules! vector_impl { ($([$f:ident, $($args:tt)*]),*) => { $($f!($($args)*);)* } }
|
2018-10-06 04:12:06 -05:00
|
|
|
+/*
|
2018-12-15 07:46:58 -06:00
|
|
|
#[path = "../stdsimd/coresimd/mod.rs"]
|
|
|
|
#[allow(missing_docs, missing_debug_implementations, dead_code, unused_imports)]
|
|
|
|
#[unstable(feature = "stdsimd", issue = "48556")]
|
|
|
|
@@ -255,3 +256,4 @@ mod coresimd;
|
|
|
|
|
2018-10-06 04:12:06 -05:00
|
|
|
#[stable(feature = "simd_arch", since = "1.27.0")]
|
|
|
|
pub use coresimd::arch;
|
|
|
|
+*/
|
|
|
|
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
|
2018-12-15 07:46:58 -06:00
|
|
|
index 90c8eaf..95541c3 100644
|
2018-10-06 04:12:06 -05:00
|
|
|
--- a/src/libstd/lib.rs
|
|
|
|
+++ b/src/libstd/lib.rs
|
2018-12-15 07:46:58 -06:00
|
|
|
@@ -287,7 +287,7 @@
|
|
|
|
#![feature(rustc_attrs)]
|
|
|
|
#![feature(rustc_const_unstable)]
|
|
|
|
#![feature(std_internals)]
|
|
|
|
-#![feature(stdsimd)]
|
|
|
|
+//#![feature(stdsimd)]
|
|
|
|
#![feature(shrink_to)]
|
|
|
|
#![feature(slice_concat_ext)]
|
|
|
|
#![feature(slice_internals)]
|
|
|
|
@@ -503,6 +503,7 @@ mod memchr;
|
2018-10-06 04:12:06 -05:00
|
|
|
// compiler
|
|
|
|
pub mod rt;
|
|
|
|
|
|
|
|
+/*
|
2018-11-12 12:37:54 -06:00
|
|
|
// Pull in the `stdsimd` crate directly into libstd. This is the same as
|
2018-10-06 04:12:06 -05:00
|
|
|
// libcore's arch/simd modules where the source of truth here is in a different
|
|
|
|
// repository, but we pull things in here manually to get it into libstd.
|
2018-12-15 07:46:58 -06:00
|
|
|
@@ -526,6 +527,7 @@ mod coresimd {
|
2018-10-06 04:12:06 -05:00
|
|
|
#[stable(feature = "simd_arch", since = "1.27.0")]
|
2018-12-15 07:46:58 -06:00
|
|
|
#[cfg(not(test))]
|
2018-10-06 04:12:06 -05:00
|
|
|
pub use stdsimd::arch;
|
|
|
|
+*/
|
|
|
|
|
|
|
|
// Include a number of private modules that exist solely to provide
|
|
|
|
// the rustdoc documentation for primitive types. Using `include!`
|
|
|
|
--
|
2018-11-12 12:37:54 -06:00
|
|
|
2.11.0
|
2018-10-06 04:12:06 -05:00
|
|
|
|