1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
/// On Windows adds `.exe` to given string. macro_rules! bin { ($bin:expr) => {{ #[cfg(not(target_os = "windows"))] let bin = $bin; #[cfg(target_os = "windows")] let bin = concat!($bin, ".exe"); bin }}; } /// On Windows adds `.bat` to given string. macro_rules! bat { ($bat:expr) => {{ #[cfg(not(target_os = "windows"))] let bat = $bat; #[cfg(target_os = "windows")] let bat = concat!($bat, ".bat"); bat }}; } pub mod commands; pub mod error; pub mod tools; pub mod types; pub mod utils; pub use simctl;