diff options
author | Himbeer <himbeer@disroot.org> | 2024-07-31 15:42:50 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-07-31 15:42:50 +0200 |
commit | c0c2706012cf29dda796c8e7281afe16aac73e9f (patch) | |
tree | 8b5381546df840e3fff7147d4e49526d5afd313e | |
parent | 922fc9225efbe99a5f765dcd5b921149198e94e8 (diff) |
root: Fix end() wrapper noreturn compatibility
-rw-r--r-- | src/root.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/root.zig b/src/root.zig index 70ddf12..a68ef7c 100644 --- a/src/root.zig +++ b/src/root.zig @@ -63,7 +63,8 @@ pub fn launch(bytes: []align(@alignOf(std.elf.Elf64_Ehdr)) const u8) !usize { } pub fn end() noreturn { - ecall(100003, .{}); + _ = ecall(100003, .{}); + unreachable; } pub fn terminate(pid: u16, thread: usize) !void { |