fix(build): only set windows_subsystem on Windows targets
This commit is contained in:
1 parent
7b41518d6e
commit
548cdabe99
1 file changed
+4
-1
@@ -1,4 +1,7 @@
|
|||||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
#![cfg_attr(
|
||||||
|
all(not(debug_assertions), target_os = "windows"),
|
||||||
|
windows_subsystem = "windows"
|
||||||
|
)]
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
kimiswitch_lib::run();
|
kimiswitch_lib::run();
|
||||||
|
|||||||
Reference in new issue
Block a user