diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2017-09-10 21:58:50 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2017-09-10 21:58:50 +0200 |
commit | 9f381cd26fee3926ac0128772e23f6e00681e4e1 (patch) | |
tree | a20558f8155cff05ac01929bf51fca802e7be684 /src/lib.rs | |
parent | d23fae9da3da625ca87c615a7798570f138aa0f5 (diff) |
Added compile flags to disable anything that shouldn't end in a wasm build
- No GTK
- No Portaudio
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,13 @@ +pub mod transforms; + +#[cfg(not(target_os = "emscripten"))] extern crate gtk; +#[cfg(not(target_os = "emscripten"))] extern crate cairo; -extern crate portaudio; - -pub mod transforms; +#[cfg(not(target_os = "emscripten"))] pub mod gui; + +#[cfg(not(target_os = "emscripten"))] +extern crate portaudio; +#[cfg(not(target_os = "emscripten"))] pub mod audio; |