diff options
author | Himbeer <himbeer@disroot.org> | 2024-07-31 16:39:35 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-07-31 16:39:35 +0200 |
commit | cd57252f51d696639a361c903b643b6a09d554d2 (patch) | |
tree | 0a7873f0cb993a849bf5fcb627796fb85b84b951 /src | |
parent | dba6cc46c970c858e2bb00313ca5d58294b5fa57 (diff) |
root: Set _start callconv to C
Diffstat (limited to 'src')
-rw-r--r-- | src/root.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/root.zig b/src/root.zig index f0cc048..6f6c9cb 100644 --- a/src/root.zig +++ b/src/root.zig @@ -16,7 +16,7 @@ const Result = struct { const SyscallError = error{Kernel}; -fn _start() noreturn { +fn _start() callconv(.C) noreturn { if (!@hasDecl(root, "main")) @compileError("no main function"); root.main(); end(); |