Skip to content

Commit

Permalink
Skip wrapping arithmetic tests on emscripten for 128 bit integers
Browse files Browse the repository at this point in the history
  • Loading branch information
iluuu1994 authored Aug 30, 2019
1 parent c71004c commit 55800ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/ui/wrapping-int-combinations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,14 @@ fn main() {
wrapping_test!(i16, std::i16::MIN, std::i16::MAX);
wrapping_test!(i32, std::i32::MIN, std::i32::MAX);
wrapping_test!(i64, std::i64::MIN, std::i64::MAX);
#[cfg(not(target_os = "emscripten"))]
wrapping_test!(i128, std::i128::MIN, std::i128::MAX);
wrapping_test!(isize, std::isize::MIN, std::isize::MAX);
wrapping_test!(u8, std::u8::MIN, std::u8::MAX);
wrapping_test!(u16, std::u16::MIN, std::u16::MAX);
wrapping_test!(u32, std::u32::MIN, std::u32::MAX);
wrapping_test!(u64, std::u64::MIN, std::u64::MAX);
#[cfg(not(target_os = "emscripten"))]
wrapping_test!(u128, std::u128::MIN, std::u128::MAX);
wrapping_test!(usize, std::usize::MIN, std::usize::MAX);
}

0 comments on commit 55800ce

Please sign in to comment.