From 45f5c937f91b1e88033f86bca22ce39e492d1b8e Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Thu, 26 Dec 2019 14:55:18 -0800 Subject: [PATCH] conditionally compile windows_subsystem for debug mode --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e45cc3d..3433b50 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -#![windows_subsystem = "windows"] +#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] mod editor; mod events;