Debian Codegraph @

debian/patches/x32.patch

raw
1 --- rust-pathfinder-simd-0.5.2.orig/src/x86/mod.rs
2 +++ rust-pathfinder-simd-0.5.2/src/x86/mod.rs
3 @@ -13,13 +13,13 @@ use std::fmt::{self, Debug, Formatter};
4 use std::mem;
5 use std::ops::{Add, BitAnd, BitOr, BitXor, Div, Index, IndexMut, Mul, Not, Shr, Sub};
6
7 -#[cfg(target_pointer_width = "32")]
8 +#[cfg(target_arch = "x86")]
9 use std::arch::x86::{__m128, __m128i};
10 -#[cfg(target_pointer_width = "32")]
11 +#[cfg(target_arch = "x86")]
12 use std::arch::x86;
13 -#[cfg(target_pointer_width = "64")]
14 +#[cfg(target_arch = "x86_64")]
15 use std::arch::x86_64::{__m128, __m128i};
16 -#[cfg(target_pointer_width = "64")]
17 +#[cfg(target_arch = "x86_64")]
18 use std::arch::x86_64 as x86;
19
20 mod swizzle_f32x4;
21 --- rust-pathfinder-simd-0.5.2.orig/src/x86/swizzle_f32x4.rs
22 +++ rust-pathfinder-simd-0.5.2/src/x86/swizzle_f32x4.rs
23 @@ -10,9 +10,9 @@
24
25 use crate::x86::F32x4;
26
27 -#[cfg(target_pointer_width = "32")]
28 +#[cfg(target_arch= "x86")]
29 use std::arch::x86;
30 -#[cfg(target_pointer_width = "64")]
31 +#[cfg(target_arch = "x86_64")]
32 use std::arch::x86_64 as x86;
33
34 impl F32x4 {
35 --- rust-pathfinder-simd-0.5.2.orig/src/x86/swizzle_i32x4.rs
36 +++ rust-pathfinder-simd-0.5.2/src/x86/swizzle_i32x4.rs
37 @@ -10,9 +10,9 @@
38
39 use crate::x86::I32x4;
40
41 -#[cfg(target_pointer_width = "32")]
42 +#[cfg(target_arch = "x86")]
43 use std::arch::x86;
44 -#[cfg(target_pointer_width = "64")]
45 +#[cfg(target_arch = "x86_64")]
46 use std::arch::x86_64 as x86;
47
48 impl I32x4 {