-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
extends windows subsystem support (or just relax limitation) #37553
Comments
cc #37499 |
We could make sure ,5.01 always append to the linker, that's doesn't affect the link result much. |
Using an attribute like |
Also it is a bit confusing now that empty Because its own name is not so clear and looks like self-sufficient to assign the windows subsystem to the executable. Posting here because #37499 was closed. |
Closing. If someone wants to pursue this, please follow the RFC process here https://github.com/rust-lang/rfcs#before-creating-an-rfc. |
For attribute
#![windows_subsystem = "VALUE"]
, the current implementation only acceptWindows
andConsole
as VALUE, which has unnecessary limitation.Perhaps we should make it possible to use
#![windows_subsystem = "Console,5.01"]
or something similar. The version '5.01' here is necessary to create valid .exe to Windows XP, at least for VC 2015 linker on Windows 10.cc PR #37501, ISSUE #34407 @alexcrichton
Update: Other available subsystems may be supported: NATIVE, POSIX, BOOT_APPLICATION, ...
More details at https://msdn.microsoft.com/en-us/library/fcc1zstk.aspx
The text was updated successfully, but these errors were encountered: