1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
//! Main module stub. use nazara::{Nazara, failure}; // ================================================ // =========NAZARA ENTRY POINT===================== // ================================================ #[cfg(target_os = "linux")] fn main() { let nazara = Nazara::new(); match nazara { Ok(mut v) => match v.run() { Err(e) => failure!("{}", e), _ => {} }, Err(e) => failure!("{}", e), } }