diff options
| -rw-r--r-- | src/liballoc/tests/lib.rs | 3 | ||||
| -rw-r--r-- | src/libcore/tests/hash/mod.rs | 3 | ||||
| -rw-r--r-- | src/tools/tidy/src/pal.rs | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/liballoc/tests/lib.rs b/src/liballoc/tests/lib.rs index 61377018455..c5beb63d12e 100644 --- a/src/liballoc/tests/lib.rs +++ b/src/liballoc/tests/lib.rs @@ -51,6 +51,9 @@ fn hash<T: Hash>(t: &T) -> u64 { s.finish() } +// FIXME: Instantiated functions with i128 in the signature is not supported in Emscripten. +// See https://github.com/kripken/emscripten-fastcomp/issues/169 +#[cfg(not(target_os = "emscripten"))] #[test] fn test_boxed_hasher() { let ordinary_hash = hash(&5u32); diff --git a/src/libcore/tests/hash/mod.rs b/src/libcore/tests/hash/mod.rs index 49e41f02428..e8ea6044f5f 100644 --- a/src/libcore/tests/hash/mod.rs +++ b/src/libcore/tests/hash/mod.rs @@ -110,6 +110,9 @@ fn test_custom_state() { assert_eq!(hash(&Custom { hash: 5 }), 5); } +// FIXME: Instantiated functions with i128 in the signature is not supported in Emscripten. +// See https://github.com/kripken/emscripten-fastcomp/issues/169 +#[cfg(not(target_os = "emscripten"))] #[test] fn test_indirect_hasher() { let mut hasher = MyHasher { hash: 0 }; diff --git a/src/tools/tidy/src/pal.rs b/src/tools/tidy/src/pal.rs index 8092a9e156b..fdbcfd10bde 100644 --- a/src/tools/tidy/src/pal.rs +++ b/src/tools/tidy/src/pal.rs @@ -76,6 +76,7 @@ const EXCEPTION_PATHS: &'static [&'static str] = &[ // std testing crates, ok for now at least "src/libcore/tests", + "src/liballoc/tests/lib.rs", // non-std crates "src/test", |
