summaryrefslogtreecommitdiff
path: root/src/main.rs
blob: a05c2f70e1ed998c5127d6d8a4f959b03a77d09f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
extern crate rusty_microphone;

#[cfg(not(target_arch = "wasm32"))]
fn main() {
    use rusty_microphone::*;

    let gui_result = gui::start_gui();
    if gui_result.is_err() {
        println!("Failed to initialize");
        return;
    }
}

#[cfg(target_arch = "wasm32")]
fn main() {
    println!("Hello Wasm");
}