| ... | @@ -25,7 +25,9 @@ comptime { | ... | @@ -25,7 +25,9 @@ comptime { |
| 25 | pub const log = stage2.log; | 25 | pub const log = stage2.log; |
| 26 | pub const log_level = stage2.log_level; | 26 | pub const log_level = stage2.log_level; |
| 27 | | 27 | |
| 28 | pub export fn main(argc: c_int, argv: [*]const [*:0]const u8) c_int { | 28 | pub export fn main(argc: c_int, argv: [*][*:0]u8) c_int { |
| | 29 | std.os.argv = argv[0.. @intCast(usize, argc)]; |
| | 30 | |
| 29 | std.debug.maybeEnableSegfaultHandler(); | 31 | std.debug.maybeEnableSegfaultHandler(); |
| 30 | | 32 | |
| 31 | zig_stage1_os_init(); | 33 | zig_stage1_os_init(); |