mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
start code: enable segfault handler for stage2
This commit is contained in:
parent
c8c798685f
commit
a127693f95
@ -455,10 +455,6 @@ fn callMainWithArgs(argc: usize, argv: [*][*:0]u8, envp: [][*:0]u8) u8 {
|
||||
std.os.argv = argv[0..argc];
|
||||
std.os.environ = envp;
|
||||
|
||||
if (builtin.zig_backend == .stage2_llvm) {
|
||||
return @call(.{ .modifier = .always_inline }, callMain, .{});
|
||||
}
|
||||
|
||||
std.debug.maybeEnableSegfaultHandler();
|
||||
|
||||
return initEventLoopAndCallMain();
|
||||
|
Loading…
Reference in New Issue
Block a user