diff options
| author | kennytm <kennytm@gmail.com> | 2017-09-11 00:13:19 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2017-09-12 17:28:07 +0800 |
| commit | 143e2dcd5ce3a7ba5953378cde0f2850850d6e9f (patch) | |
| tree | d3a968515453c9c04c03d8418498b0abd13eaabd /src/libcore | |
| parent | 0bbe468271c3afa84c18979d8a5b9574d2bf2070 (diff) | |
| download | rust-143e2dcd5ce3a7ba5953378cde0f2850850d6e9f.tar.gz rust-143e2dcd5ce3a7ba5953378cde0f2850850d6e9f.zip | |
Disable the new Hasher tests on Emscripten.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/tests/hash/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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 }; |
