mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
Remove reference to stage2_os
This commit is contained in:
parent
d6e87da47b
commit
4782bededa
@ -28,7 +28,7 @@ comptime {
|
||||
if (@typeInfo(@TypeOf(root.main)).Fn.calling_convention != .C) {
|
||||
@export(main2, .{ .name = "main" });
|
||||
}
|
||||
} else if (builtin.stage2_os == .windows) {
|
||||
} else if (builtin.os.tag == .windows) {
|
||||
@export(wWinMainCRTStartup2, .{ .name = "wWinMainCRTStartup" });
|
||||
} else {
|
||||
if (!@hasDecl(root, "_start")) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user