Skip to content

Commit

Permalink
Fix warning about dead code when testing on non-wasm32 targets
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fitzgen committed Jul 9, 2019
1 parent 1ba2985 commit 6cb659d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/typescript-tests/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mod custom_section;
mod getters_setters;
mod opt_args_and_ret;
mod simple_fn;
mod simple_struct;
pub mod custom_section;
pub mod getters_setters;
pub mod opt_args_and_ret;
pub mod simple_fn;
pub mod simple_struct;

0 comments on commit 6cb659d

Please sign in to comment.