From c4800b74116f068e02f625aa0920f062905dade4 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Thu, 1 Feb 2024 21:49:29 +0800 Subject: [PATCH] disable mod win on none windows --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0790f4a..0c43101 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,10 +1,10 @@ #![windows_subsystem = "windows"] -// #[cfg(not(windows))] #[allow(unused)] +#[cfg(not(windows))] mod other; -#[cfg(windows)] #[allow(unused)] +#[cfg(windows)] mod win; mod config;