summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rustc-1.29.0-src.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/rustc-1.29.0-src.patch b/rustc-1.29.0-src.patch
index c4974757..417b4294 100644
--- a/rustc-1.29.0-src.patch
+++ b/rustc-1.29.0-src.patch
@@ -64,3 +64,18 @@
+ //assert!(mem::size_of::<ty::TypeVariants>() <= 24);
+ //#[cfg(target_pointer_width = "64")]
+ //assert!(mem::size_of::<ty::TyS>() <= 32);
+
+--- src/stdsimd/stdsimd/arch/detect/os/x86.rs
++++ src/stdsimd/stdsimd/arch/detect/os/x86.rs
+@@ -14,5 +14,11 @@
+ /// Performs run-time feature detection.
+ #[inline]
++#[cfg(not(rust_compiler="mrustc"))]
+ pub fn check_for(x: Feature) -> bool {
+ cache::test(x as u32, detect_features)
+ }
++#[inline]
++#[cfg(rust_compiler="mrustc")]
++pub fn check_for(x: Feature) -> bool {
++ false
++}