Closed
Description
For attribute #![windows_subsystem = "VALUE"]
, the current implementation only accept Windows
and Console
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, ...
/SUBSYSTEM:{BOOT_APPLICATION|CONSOLE|EFI_APPLICATION|
EFI_BOOT_SERVICE_DRIVER|EFI_ROM|EFI_RUNTIME_DRIVER|NATIVE|
POSIX|WINDOWS)
[,major[.minor]]
More details at https://msdn.microsoft.com/en-us/library/fcc1zstk.aspx
Metadata
Metadata
Assignees
Labels
No labels