From a127693f950e1abb1b2b31f5bb74d1ba2b0fa532 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 26 Jul 2022 20:04:24 -0700 Subject: [PATCH] start code: enable segfault handler for stage2 --- lib/std/start.zig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/std/start.zig b/lib/std/start.zig index 788c979d48..8ea261be2d 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -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();