| author | |
| committer | |
| log | 4782bededa2987f493a6c02a27b0a248d04cb072 |
| tree | d4da7625faeba8cc364c33d97cbdce7c417538c9 |
| parent | d6e87da47b61ac31fe93a212d4f47eae55fec492 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/start.zig+1-1| ... | ... | @@ -28,7 +28,7 @@ comptime { |
| 28 | 28 | if (@typeInfo(@TypeOf(root.main)).Fn.calling_convention != .C) { |
| 29 | 29 | @export(main2, .{ .name = "main" }); |
| 30 | 30 | } |
| 31 | } else if (builtin.stage2_os == .windows) { | |
| 31 | } else if (builtin.os.tag == .windows) { | |
| 32 | 32 | @export(wWinMainCRTStartup2, .{ .name = "wWinMainCRTStartup" }); |
| 33 | 33 | } else { |
| 34 | 34 | if (!@hasDecl(root, "_start")) { |