Skip to content

Commit 6cb659d

Browse files
committed
Fix warning about dead code when testing on non-wasm32 targets
There are functions that are only used on wasm32 targets, but `cfg`ing them is more work than just making the modules public, and this is just a testing crate.
1 parent 1ba2985 commit 6cb659d

File tree

1 file changed

+5
-5
lines changed
  • crates/typescript-tests/src

1 file changed

+5
-5
lines changed

crates/typescript-tests/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
mod custom_section;
2-
mod getters_setters;
3-
mod opt_args_and_ret;
4-
mod simple_fn;
5-
mod simple_struct;
1+
pub mod custom_section;
2+
pub mod getters_setters;
3+
pub mod opt_args_and_ret;
4+
pub mod simple_fn;
5+
pub mod simple_struct;

0 commit comments

Comments
 (0)