Skip to content

Commit 63f061c

Browse files
committed
Fix a test on wasm
1 parent d1bf396 commit 63f061c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test-libz-rs-sys/src/deflate.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,6 @@ mod fuzz_based_tests {
18031803
}
18041804

18051805
#[test]
1806-
#[cfg_attr(target_family = "wasm", ignore = "zlib-ng compresses differently on wasm")]
18071806
fn hash_calc_difference() {
18081807
// exposed an issue in the crc32 acle hash calc where the incorrect instruction was used.
18091808
// a different hash function changes which match is found first in the hash map, and
@@ -1847,7 +1846,7 @@ mod fuzz_based_tests {
18471846
mem_level: 2,
18481847
strategy: Strategy::Default,
18491848
},
1850-
if cfg!(target_arch = "s390x") {
1849+
if cfg!(any(target_arch = "s390x", target_family = "wasm")) {
18511850
output_s390x
18521851
} else {
18531852
output_other

0 commit comments

Comments
 (0)