all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob a3ea2e94eb7eeac88cf8d277bbd87465ecd772ab 837 bytes (raw)
name: gnu/packages/patches/rust-coresimd-doctest.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
Use correct feature for __m256
--- rustc-1.26.2-src-orig/src/stdsimd/coresimd/x86/mod.rs	1970-01-01 05:00:00.000000000 +0500
+++ rustc-1.26.2-src/src/stdsimd/coresimd/x86/mod.rs	2018-06-22 00:01:55.142026720 +0500
@@ -293,13 +293,13 @@
     /// use std::arch::x86_64::*;
     ///
     /// # fn main() {
-    /// # #[target_feature(enable = "sse")]
+    /// # #[target_feature(enable = "avx")]
     /// # unsafe fn foo() {
     /// let eight_zeros = _mm256_setzero_ps();
     /// let eight_ones = _mm256_set1_ps(1.0);
     /// let eight_floats = _mm256_set_ps(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0);
     /// # }
-    /// # if is_x86_feature_detected!("sse") { unsafe { foo() } }
+    /// # if is_x86_feature_detected!("avx") { unsafe { foo() } }
     /// # }
     /// ```
     pub struct __m256(f32, f32, f32, f32, f32, f32, f32, f32);

debug log:

solving a3ea2e94e ...
found a3ea2e94e in https://yhetil.org/guix/87in68i6b2.fsf@member.fsf.org/

applying [1/1] https://yhetil.org/guix/87in68i6b2.fsf@member.fsf.org/
diff --git a/gnu/packages/patches/rust-coresimd-doctest.patch b/gnu/packages/patches/rust-coresimd-doctest.patch
new file mode 100644
index 000000000..a3ea2e94e

Checking patch gnu/packages/patches/rust-coresimd-doctest.patch...
Applied patch gnu/packages/patches/rust-coresimd-doctest.patch cleanly.

index at:
100644 a3ea2e94eb7eeac88cf8d277bbd87465ecd772ab	gnu/packages/patches/rust-coresimd-doctest.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.