blob: f8c1921911ac9807ec3d18b79c5fc4f9d061b690 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#[macro_use]
#[cfg(target_os = "windows")]
mod win;
#[cfg(target_os = "windows")]
mod bin;
use std::error::Error;
#[cfg(target_os = "windows")]
fn main() -> Result<(), Box<dyn Error>> {
bin::main_impl()
}
#[cfg(not(target_os = "windows"))]
fn main() {}
|