diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2024-03-28 20:41:58 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2024-03-30 20:50:48 -0400 |
| commit | 5a41704f7ec2c472897f955ecfe1feafa697ff68 (patch) | |
| tree | 62984e96e61c367ce7ad304fc532051c10e6921d /lib/std/debug.zig | |
| parent | 6f10b11658c002b26341bff10e1dd522f2465b5a (diff) | |
| download | zig-5a41704f7ec2c472897f955ecfe1feafa697ff68.tar.gz zig-5a41704f7ec2c472897f955ecfe1feafa697ff68.zip | |
cbe: rewrite `CType`
Closes #14904
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index 824adc0261..d1d6201b80 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -2570,7 +2570,7 @@ fn resetSegfaultHandler() void { updateSegfaultHandler(&act) catch {}; } -fn handleSegfaultPosix(sig: i32, info: *const posix.siginfo_t, ctx_ptr: ?*const anyopaque) callconv(.C) noreturn { +fn handleSegfaultPosix(sig: i32, info: *const posix.siginfo_t, ctx_ptr: ?*anyopaque) callconv(.C) noreturn { // Reset to the default handler so that if a segfault happens in this handler it will crash // the process. Also when this handler returns, the original instruction will be repeated // and the resulting segfault will crash the process rather than continually dump stack traces. |
