2016-04-25 11:13:05 -04:00
|
|
|
|
2019-10-07 19:50:17 -04:00
|
|
|
#[cfg(any(target_os = "windows", target_os = "linux"))]
|
2016-04-25 11:13:05 -04:00
|
|
|
fn main() {
|
2019-10-07 19:50:17 -04:00
|
|
|
let ret = rusty_keys::main_res();
|
2017-11-16 23:21:21 -05:00
|
|
|
if let Err(e) = ret {
|
|
|
|
println!("fatal error: {}", e);
|
|
|
|
}
|
2017-11-16 00:13:46 -05:00
|
|
|
}
|
2019-10-07 19:50:17 -04:00
|
|
|
|
|
|
|
#[cfg(not(any(target_os = "windows", target_os = "linux")))]
|
|
|
|
fn main() {
|
|
|
|
panic!("sorry no main impl for this platform");
|
|
|
|
}
|