69 lines
1.9 KiB
Diff
69 lines
1.9 KiB
Diff
From 096dee5742ccd90df2e0edfe8b6bda87a63d99cf Mon Sep 17 00:00:00 2001
|
|
From: bjorn3 <bjorn3@users.noreply.github.com>
|
|
Date: Wed, 30 Jan 2019 18:55:58 +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 6f364eb..69f0914 100644
|
|
--- a/src/libcore/lib.rs
|
|
+++ b/src/libcore/lib.rs
|
|
@@ -221,6 +221,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.
|
|
//
|
|
@@ -248,3 +249,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 244caf2..f269fda 100644
|
|
--- a/src/libstd/lib.rs
|
|
+++ b/src/libstd/lib.rs
|
|
@@ -271,7 +271,6 @@
|
|
#![feature(rustc_attrs)]
|
|
#![feature(rustc_const_unstable)]
|
|
#![feature(std_internals)]
|
|
-#![feature(stdsimd)]
|
|
#![feature(shrink_to)]
|
|
#![feature(slice_concat_ext)]
|
|
#![feature(slice_internals)]
|
|
@@ -358,9 +357,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")]
|
|
@@ -492,6 +488,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.
|
|
//
|
|
@@ -508,6 +505,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.11.0
|
|
|