about summary refs log tree commit diff
path: root/src/liballoc/tests
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-09-11 00:13:19 +0800
committerkennytm <kennytm@gmail.com>2017-09-12 17:28:07 +0800
commit143e2dcd5ce3a7ba5953378cde0f2850850d6e9f (patch)
treed3a968515453c9c04c03d8418498b0abd13eaabd /src/liballoc/tests
parent0bbe468271c3afa84c18979d8a5b9574d2bf2070 (diff)
downloadrust-143e2dcd5ce3a7ba5953378cde0f2850850d6e9f.tar.gz
rust-143e2dcd5ce3a7ba5953378cde0f2850850d6e9f.zip
Disable the new Hasher tests on Emscripten.
Diffstat (limited to 'src/liballoc/tests')
-rw-r--r--src/liballoc/tests/lib.rs3
1 files changed, 3 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);