From 143e2dcd5ce3a7ba5953378cde0f2850850d6e9f Mon Sep 17 00:00:00 2001 From: kennytm Date: Mon, 11 Sep 2017 00:13:19 +0800 Subject: Disable the new Hasher tests on Emscripten. --- src/libcore/tests/hash/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libcore/tests') 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 }; -- cgit 1.4.1-3-g733a5