| author | |
| committer | |
| log | 161eb4a000923c28d152781dcc8a080905c7ad32 |
| tree | 38ffc35c6f9bcce79583f158d00f04f0031120d7 |
| parent | a6dc2b7fcc2e1e73130eb0e762cac4ab884d20c2 |
1 files changed, 3 insertions(+), 1 deletions(-)
src/stage1.zig+3-1| ... | ... | @@ -25,7 +25,9 @@ comptime { |
| 25 | 25 | pub const log = stage2.log; |
| 26 | 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 | 31 | std.debug.maybeEnableSegfaultHandler(); |
| 30 | 32 | |
| 31 | 33 | zig_stage1_os_init(); |