Finish FVM package
This commit is contained in:
parent
f2bf17fde9
commit
3c390e5396
13 changed files with 178 additions and 28 deletions
20
src/main.rs
20
src/main.rs
|
@ -1,6 +1,26 @@
|
|||
#[cfg(target_os = "windows")]
|
||||
mod windows;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
mod linux;
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
mod macos;
|
||||
|
||||
pub mod common;
|
||||
|
||||
fn main() {
|
||||
#[cfg(target_os = "windows")]
|
||||
windows::start();
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
linux::start();
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
macos::start();
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
println!("[ERROR] Operating system not supported");
|
||||
}
|
||||
|
|
Reference in a new issue