gui: don't use win32 gui subsystem in test configuration

We won't see test output in that case, because the tests won't
be able to write to the console!
This commit is contained in:
Wez Furlong committed 2021-12-26 09:16:22 -07:00
1 parent 2e24b0fc22
commit d51ce704d9
1 file changed
+1 -1
+1 -1
View File
@@ -1,5 +1,5 @@
// Don't create a new standard console window when launched from the windows GUI.
#![windows_subsystem = "windows"]
#![cfg_attr(not(test), windows_subsystem = "windows")]
use crate::frontend::front_end;
use ::window::*;