diff options
Diffstat (limited to 'src/audio.rs')
| -rw-r--r-- | src/audio.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/audio.rs b/src/audio.rs index 0dca32e..2b4226c 100644 --- a/src/audio.rs +++ b/src/audio.rs @@ -1,4 +1,7 @@ -use std::{cell::RefCell, collections::HashMap}; +use std::collections::HashMap; + +#[cfg(target_arch = "wasm32")] +use std::cell::RefCell; #[cfg(target_arch = "wasm32")] pub struct Context { |
