2019-02-24 05:37:44 -06:00
|
|
|
From 95157a64120faffebc2cc67baf65f45f992e167e Mon Sep 17 00:00:00 2001
|
2018-10-06 04:12:06 -05:00
|
|
|
From: bjorn3 <bjorn3@users.noreply.github.com>
|
2019-02-24 05:37:44 -06:00
|
|
|
Date: Sun, 24 Feb 2019 11:27:11 +0100
|
2018-10-06 04:12:06 -05:00
|
|
|
Subject: [PATCH] Disable stdsimd
|
|
|
|
|
|
|
|
---
|
|
|
|
src/libcore/lib.rs | 2 ++
|
2019-01-30 12:01:07 -06:00
|
|
|
src/libstd/lib.rs | 6 ++----
|
|
|
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
2018-10-06 04:12:06 -05:00
|
|
|
|
|
|
|
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
|
2019-02-24 05:37:44 -06:00
|
|
|
index f2165c6..cdb42c1 100644
|
2018-10-06 04:12:06 -05:00
|
|
|
--- a/src/libcore/lib.rs
|
|
|
|
+++ b/src/libcore/lib.rs
|
2019-02-24 05:37:44 -06:00
|
|
|
@@ -222,6 +222,7 @@ pub mod alloc;
|
2019-01-30 12:01:07 -06:00
|
|
|
mod tuple;
|
|
|
|
mod unit;
|
|
|
|
|
2018-10-06 04:12:06 -05:00
|
|
|
+/*
|
2019-01-30 12:01:07 -06:00
|
|
|
// Pull in the `core_arch` crate directly into libcore. The contents of
|
|
|
|
// `core_arch` are in a different repository: rust-lang-nursery/stdsimd.
|
|
|
|
//
|
2019-02-24 05:37:44 -06:00
|
|
|
@@ -235,3 +236,4 @@ mod core_arch;
|
2018-12-15 07:46:58 -06:00
|
|
|
|
2018-10-06 04:12:06 -05:00
|
|
|
#[stable(feature = "simd_arch", since = "1.27.0")]
|
2019-01-30 12:01:07 -06:00
|
|
|
pub use core_arch::arch;
|
2018-10-06 04:12:06 -05:00
|
|
|
+*/
|
|
|
|
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
|
2019-02-24 05:37:44 -06:00
|
|
|
index 6dd3a6c..c7401e2 100644
|
2018-10-06 04:12:06 -05:00
|
|
|
--- a/src/libstd/lib.rs
|
|
|
|
+++ b/src/libstd/lib.rs
|
2019-02-24 05:37:44 -06:00
|
|
|
@@ -291,7 +291,6 @@
|
|
|
|
#![feature(slice_patterns)]
|
|
|
|
#![feature(staged_api)]
|
2018-12-15 07:46:58 -06:00
|
|
|
#![feature(std_internals)]
|
|
|
|
-#![feature(stdsimd)]
|
2019-02-24 05:37:44 -06:00
|
|
|
#![feature(stmt_expr_attributes)]
|
|
|
|
#![feature(str_internals)]
|
|
|
|
#![feature(thread_local)]
|
|
|
|
@@ -357,9 +356,6 @@ pub mod prelude;
|
2019-01-30 12:01:07 -06:00
|
|
|
// Public module declarations and re-exports
|
|
|
|
#[stable(feature = "rust1", since = "1.0.0")]
|
|
|
|
pub use core::any;
|
|
|
|
-#[stable(feature = "simd_arch", since = "1.27.0")]
|
|
|
|
-#[doc(no_inline)]
|
|
|
|
-pub use core::arch;
|
|
|
|
#[stable(feature = "rust1", since = "1.0.0")]
|
|
|
|
pub use core::cell;
|
|
|
|
#[stable(feature = "rust1", since = "1.0.0")]
|
2019-02-24 05:37:44 -06:00
|
|
|
@@ -489,6 +485,7 @@ mod memchr;
|
2018-10-06 04:12:06 -05:00
|
|
|
// compiler
|
|
|
|
pub mod rt;
|
|
|
|
|
|
|
|
+/*
|
2019-01-30 12:01:07 -06:00
|
|
|
// Pull in the `std_detect` crate directly into libstd. The contents of
|
|
|
|
// `std_detect` are in a different repository: rust-lang-nursery/stdsimd.
|
|
|
|
//
|
2019-02-24 05:37:44 -06:00
|
|
|
@@ -505,6 +502,7 @@ mod std_detect;
|
2019-01-30 12:01:07 -06:00
|
|
|
#[unstable(feature = "stdsimd", issue = "48556")]
|
2018-12-15 07:46:58 -06:00
|
|
|
#[cfg(not(test))]
|
2019-01-30 12:01:07 -06:00
|
|
|
pub use std_detect::detect;
|
2018-10-06 04:12:06 -05:00
|
|
|
+*/
|
|
|
|
|
|
|
|
// Include a number of private modules that exist solely to provide
|
|
|
|
// the rustdoc documentation for primitive types. Using `include!`
|
|
|
|
--
|
2019-02-24 05:37:44 -06:00
|
|
|
2.17.2 (Apple Git-113)
|