rust/0001-Disable-stdsimd-in-libcore.patch

29 lines
849 B
Diff

From 09ba4e4d2574ba591524cffe18eb11e05e6726a4 Mon Sep 17 00:00:00 2001
From: bjorn3 <bjorn3@users.noreply.github.com>
Date: Mon, 24 Sep 2018 18:50:20 +0200
Subject: [PATCH] Disable stdsimd in libcore
---
src/libcore/lib.rs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index 3b7646f..d349a49 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -226,6 +226,7 @@ mod nonzero;
mod tuple;
mod unit;
+/*
// Pull in the the `coresimd` crate directly into libcore. This is where all the
// architecture-specific (and vendor-specific) intrinsics are defined. AKA
// things like SIMD and such. Note that the actual source for all this lies in a
@@ -256,3 +257,4 @@ mod coresimd;
#[stable(feature = "simd_arch", since = "1.27.0")]
#[cfg(not(stage0))]
pub use coresimd::arch;
+*/
--
2.11.0