Skip to content

Commit

Permalink
wasm: Suppress unused code warning from tests/browser when not built …
Browse files Browse the repository at this point in the history
…for wasm.
  • Loading branch information
kpreid committed Nov 17, 2024
1 parent 29b38a1 commit c23942d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions all-is-cubes-wasm/tests/browser/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//!
//! These tests are usually run headless via `wasm-pack test --headless`.
#![cfg(target_family = "wasm")]

wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);

mod js_bindings;
Expand Down

0 comments on commit c23942d

Please sign in to comment.