diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 91befca..cfc5629 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,11 +1,17 @@ extern crate rusty_microphone; -use rusty_microphone::*; - +#[cfg(not(target_os = "emscripten"))] fn main() { + use rusty_microphone::*; + let gui_result = gui::start_gui(); if gui_result.is_err() { println!("Failed to initialize"); return; } } + +#[cfg(target_os = "emscripten")] +fn main() { + println!("Hello Emscripten"); +} |