From a6999d23afc69c37ef751a855cfde9a8ce329bf2 Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Thu, 3 Oct 2019 15:58:44 +0100 Subject: [PATCH 1/2] Rustfmt --- src/raw/generic.rs | 5 +---- src/raw/sse2.rs | 5 ++++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/raw/generic.rs b/src/raw/generic.rs index 6e124ee9b4..0e00159d59 100644 --- a/src/raw/generic.rs +++ b/src/raw/generic.rs @@ -21,10 +21,7 @@ type GroupWord = u32; pub type BitMaskWord = GroupWord; pub const BITMASK_STRIDE: usize = 8; // We only care about the highest bit of each byte for the mask. -#[allow( - clippy::cast_possible_truncation, - clippy::unnecessary_cast, -)] +#[allow(clippy::cast_possible_truncation, clippy::unnecessary_cast)] pub const BITMASK_MASK: BitMaskWord = 0x8080_8080_8080_8080_u64 as GroupWord; /// Helper function to replicate a byte across a `GroupWord`. diff --git a/src/raw/sse2.rs b/src/raw/sse2.rs index d336701a31..422b878122 100644 --- a/src/raw/sse2.rs +++ b/src/raw/sse2.rs @@ -135,7 +135,10 @@ impl Group { unsafe { let zero = x86::_mm_setzero_si128(); let special = x86::_mm_cmpgt_epi8(zero, self.0); - Group(x86::_mm_or_si128(special, x86::_mm_set1_epi8(0x80_u8 as i8))) + Group(x86::_mm_or_si128( + special, + x86::_mm_set1_epi8(0x80_u8 as i8), + )) } } } From 793818863182b0db1f9b489e1817b7fe7e408695 Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Fri, 4 Oct 2019 01:42:04 +0100 Subject: [PATCH 2/2] Disable i686-pc-windows-gnu on Travis since it isn't supported by cross --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 169178f061..71bcfb84ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,8 +51,9 @@ matrix: os: windows - name: "x86_64-pc-windows-gnu" env: TARGET=x86_64-pc-windows-gnu CROSS=1 - - name: "i686-pc-windows-gnu" - env: TARGET=i686-pc-windows-gnu CROSS=1 + # This target is not supported by cross + #- name: "i686-pc-windows-gnu" + # env: TARGET=i686-pc-windows-gnu CROSS=1 # Tier 2/3 targets: - name: "i586-unknown-linux-gnu (no SSE2)"