Skip to content

Windows: How to remove command line from release build #6266

Answered by ickk
rth-8 asked this question in Q&A
Discussion options

You must be logged in to vote

I think on windows all you need to do is add

#![windows_subsystem = "windows"]

to the top of main.rs

see: rust-lang/rust#37501

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rth-8
Comment options

Answer selected by mockersf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants