File tree 3 files changed +7
-0
lines changed
3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ fn hash<T: Hash>(t: &T) -> u64 {
51
51
s. finish ( )
52
52
}
53
53
54
+ // FIXME: Instantiated functions with i128 in the signature is not supported in Emscripten.
55
+ // See https://github.com/kripken/emscripten-fastcomp/issues/169
56
+ #[ cfg( not( target_os = "emscripten" ) ) ]
54
57
#[ test]
55
58
fn test_boxed_hasher ( ) {
56
59
let ordinary_hash = hash ( & 5u32 ) ;
Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ fn test_custom_state() {
110
110
assert_eq ! ( hash( & Custom { hash: 5 } ) , 5 ) ;
111
111
}
112
112
113
+ // FIXME: Instantiated functions with i128 in the signature is not supported in Emscripten.
114
+ // See https://github.com/kripken/emscripten-fastcomp/issues/169
115
+ #[ cfg( not( target_os = "emscripten" ) ) ]
113
116
#[ test]
114
117
fn test_indirect_hasher ( ) {
115
118
let mut hasher = MyHasher { hash : 0 } ;
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ const EXCEPTION_PATHS: &'static [&'static str] = &[
76
76
77
77
// std testing crates, ok for now at least
78
78
"src/libcore/tests" ,
79
+ "src/liballoc/tests/lib.rs" ,
79
80
80
81
// non-std crates
81
82
"src/test" ,
You can’t perform that action at this time.
0 commit comments