| ... | @@ -4991,7 +4991,9 @@ pub fn munmap(memory: []align(page_size_min) const u8) void { | ... | @@ -4991,7 +4991,9 @@ pub fn munmap(memory: []align(page_size_min) const u8) void { |
| 4991 | .SUCCESS => return, | 4991 | .SUCCESS => return, |
| 4992 | .INVAL => unreachable, // Invalid parameters. | 4992 | .INVAL => unreachable, // Invalid parameters. |
| 4993 | .NOMEM => unreachable, // Attempted to unmap a region in the middle of an existing mapping. | 4993 | .NOMEM => unreachable, // Attempted to unmap a region in the middle of an existing mapping. |
| 4994 | else => unreachable, | 4994 | else => |e| if (unexpected_error_tracing) { |
| | 4995 | std.debug.panic("unexpected errno: {d} ({t})", .{ @intFromEnum(e), e }); |
| | 4996 | } else unreachable, |
| 4995 | } | 4997 | } |
| 4996 | } | 4998 | } |
| 4997 | | 4999 | |