mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-21 08:32:02 +03:00
std.debug: fix handleSegfaultPosix for haiku
This commit is contained in:
+1
-1
@@ -1576,12 +1576,12 @@ fn handleSegfaultPosix(sig: posix.SIG, info: *const posix.siginfo_t, ctx_ptr: ?*
|
||||
.tvos,
|
||||
.visionos,
|
||||
.watchos,
|
||||
.haiku,
|
||||
=> @intFromPtr(info.addr),
|
||||
.linux,
|
||||
=> @intFromPtr(info.fields.sigfault.addr),
|
||||
.netbsd,
|
||||
=> @intFromPtr(info.info.reason.fault.addr),
|
||||
.haiku,
|
||||
.openbsd,
|
||||
=> @intFromPtr(info.data.fault.addr),
|
||||
.illumos,
|
||||
|
||||
Reference in New Issue
Block a user