mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 13:30:45 +00:00
link.Elf: fix error reporting for failed hot swap
This commit is contained in:
parent
e4868693a5
commit
ed810eeb06
@ -1339,7 +1339,7 @@ fn updateNavCode(
|
||||
else => |errno| log.warn("process_vm_writev failure: {s}", .{@tagName(errno)}),
|
||||
}
|
||||
},
|
||||
else => return error.HotSwapUnavailableOnHostOperatingSystem,
|
||||
else => return elf_file.base.cgFail(nav_index, "ELF hot swap unavailable on host operating system '{s}'", .{@tagName(builtin.os.tag)}),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user