Skip to content

Commit 4e44079

Browse files
author
wartmanm
committed
Don't reference wasm-bindgen
It causes link errors when attempting to run the wasm32-wasi target.
1 parent 5543b35 commit 4e44079

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ mod crashtest;
1010
mod reftest;
1111

1212
#[test]
13+
#[cfg(all(target_family="wasm", target_os="unknown"))]
1314
#[wasm_bindgen_test::wasm_bindgen_test]
1415
fn included_file() {
1516
const FILE: &[u8] = include_bytes!(concat!(env!("CARGO_MANIFEST_DIR"), "/tests/reftest/images/mozilla/jpg-progressive.jpg"));

0 commit comments

Comments
 (0)