1
0
Fork 0
This repository has been archived on 2024-01-06. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
autoconfig/src/main.rs

26 lines
487 B
Rust

#[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");
}