15 lines
354 B
Rust
15 lines
354 B
Rust
//! TTREE native Win32 entry point.
|
|
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
|
#[cfg(target_os = "windows")]
|
|
mod app;
|
|
#[cfg(any(target_os = "windows", test))]
|
|
mod design;
|
|
#[cfg(target_os = "windows")]
|
|
fn main() {
|
|
app::run();
|
|
}
|
|
#[cfg(not(target_os = "windows"))]
|
|
fn main() {
|
|
eprintln!("Build ttree-windows on Windows.");
|
|
}
|