alloc_test/lib.rs
1// #[cfg(feature = "benchmark")]
2// mod benchmark;
3
4// #[cfg(feature = "benchmark")]
5// pub use benchmark::*;
6
7macro_rules! log {
8 ($($tt:tt)*) => {
9 {
10 #[cfg(not(target_family = "wasm"))]
11 println!($($tt)*);
12 #[cfg(target_family = "wasm")]
13 wasm_bindgen_test::console_log!($($tt)*);
14 }
15 };
16}
17
18pub mod alloc;
19pub mod perf;
20pub mod threshold;