1 2 3 4 5 6 7 8 9 10 11 12
use ntw::app::dispatch::run; #[cfg(target_os = "macos")] #[tokio::main] async fn main() -> anyhow::Result<()> { run().await } #[cfg(not(target_os = "macos"))] fn main() { compile_error!("ntw is only supported on macOS (for now?)."); }