authorgravatar for spexguy070@gmail.comMartin Wickham <spexguy070@gmail.com> 2021-09-22 14:14:03-05:00
committergravatar for spexguy070@gmail.comMartin Wickham <spexguy070@gmail.com> 2021-09-22 14:14:03-05:00
log4782bededa2987f493a6c02a27b0a248d04cb072
treed4da7625faeba8cc364c33d97cbdce7c417538c9
parentd6e87da47b61ac31fe93a212d4f47eae55fec492

Remove reference to stage2_os


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/start.zig+1-1
...@@ -28,7 +28,7 @@ comptime {...@@ -28,7 +28,7 @@ comptime {
28 if (@typeInfo(@TypeOf(root.main)).Fn.calling_convention != .C) {28 if (@typeInfo(@TypeOf(root.main)).Fn.calling_convention != .C) {
29 @export(main2, .{ .name = "main" });29 @export(main2, .{ .name = "main" });
30 }30 }
31 } else if (builtin.stage2_os == .windows) {31 } else if (builtin.os.tag == .windows) {
32 @export(wWinMainCRTStartup2, .{ .name = "wWinMainCRTStartup" });32 @export(wWinMainCRTStartup2, .{ .name = "wWinMainCRTStartup" });
33 } else {33 } else {
34 if (!@hasDecl(root, "_start")) {34 if (!@hasDecl(root, "_start")) {