-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
std.builtin.subsystem reports .Windows for console applications #25127
Copy link
Copy link
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.os-windowsMicrosoft WindowsMicrosoft Windowsstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.os-windowsMicrosoft WindowsMicrosoft Windowsstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Zig Version
0.15.1
Steps to Reproduce and Observed Behavior
3 is
IMAGE_SUBSYSTEM_WINDOWS_CUI, 2 isIMAGE_SUBSYSTEM_WINDOWS_GUI. You also know that it's not a GUI application by the fact that it prints to the console.Expected Behavior
std.builtin.subsystemdoes not report incorrect information.