-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows support needed to select subsystem for compilation #2986
Comments
I think this is just rust-lang/rfcs#1665? |
Or rather, a concern that should be addressed as part of that RFC. |
OK guys. I'm a Windows developer who's looking into picking up Rust because of its safety advantages over C/C++. The very first thing I need is to be able to target the Windows subsystem. I need to be able to target either the console subsystem or the graphical subsystem individually for each binary. That's the very first thing I need in order to use Rust. Are you saying this is still not implemented at this time...? |
@denisbider this is implemented, it's just not stabilized yet. You can track support at rust-lang/rust#37499 |
This was stabilized in rust-lang/rust, so closing. |
Currently rustc seems to default to the console subsystem on windows (both for gnu and msvc builds). There should be some way to set this in Cargo.toml so that the correct subsystem is used.
Here are the known ways to deal with this currently, all of which suck:
The text was updated successfully, but these errors were encountered: