How to disable console window on Windows?

I have a problem with opening console window on Windows when opening my app(also this is visible when running app in Wine)
How can I disable it?
App to test -

Here is my build instruction on Windows -

1 Like

Somehow you need to specify the /SUBSYSTEM linker flag so Win32 knows it’s a gui app

Edit: Aha, it was added way back in Rust 1.18, add #![windows_subsystem = "windows"] to your


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.