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