diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-01-23 19:03:12 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-01-24 09:25:34 +0000 |
| commit | 88ff147c567656bc033eb7a1441b173d235ac465 (patch) | |
| tree | a679e221479bcfb5c6ad825734dcb8e553a68824 /library/std/src | |
| parent | d0a70d93282adb3d3a0adb9b17ead93b35639c46 (diff) | |
| download | rust-88ff147c567656bc033eb7a1441b173d235ac465.tar.gz rust-88ff147c567656bc033eb7a1441b173d235ac465.zip | |
Remove a bunch of emscripten test ignores
They are either outdated as emscripten now supports i128 or they are subsumed by #[cfg_attr(not(panic = "unwind"), ignore]
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/f64/tests.rs | 3 | ||||
| -rw-r--r-- | library/std/src/io/tests.rs | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/library/std/src/f64/tests.rs b/library/std/src/f64/tests.rs index 3fac2efe0d7..f5ba2c7b594 100644 --- a/library/std/src/f64/tests.rs +++ b/library/std/src/f64/tests.rs @@ -112,7 +112,6 @@ fn test_neg_zero() { assert_eq!(Fp::Zero, neg_zero.classify()); } -#[cfg_attr(all(target_arch = "wasm32", target_os = "emscripten"), ignore)] // issue 42630 #[test] fn test_one() { let one: f64 = 1.0f64; @@ -165,7 +164,6 @@ fn test_is_finite() { assert!((-109.2f64).is_finite()); } -#[cfg_attr(all(target_arch = "wasm32", target_os = "emscripten"), ignore)] // issue 42630 #[test] fn test_is_normal() { let nan: f64 = f64::NAN; @@ -183,7 +181,6 @@ fn test_is_normal() { assert!(!1e-308f64.is_normal()); } -#[cfg_attr(all(target_arch = "wasm32", target_os = "emscripten"), ignore)] // issue 42630 #[test] fn test_classify() { let nan: f64 = f64::NAN; diff --git a/library/std/src/io/tests.rs b/library/std/src/io/tests.rs index 85098b3bb18..226cc6011bc 100644 --- a/library/std/src/io/tests.rs +++ b/library/std/src/io/tests.rs @@ -7,7 +7,6 @@ use crate::mem::MaybeUninit; use crate::ops::Deref; #[test] -#[cfg_attr(target_os = "emscripten", ignore)] fn read_until() { let mut buf = Cursor::new(&b"12"[..]); let mut v = Vec::new(); @@ -359,7 +358,6 @@ fn chain_zero_length_read_is_not_eof() { } #[bench] -#[cfg_attr(target_os = "emscripten", ignore)] #[cfg_attr(miri, ignore)] // Miri isn't fast... fn bench_read_to_end(b: &mut test::Bencher) { b.iter(|| { |
