aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2024-07-31 16:39:35 +0200
committerHimbeer <himbeer@disroot.org>2024-07-31 16:39:35 +0200
commitcd57252f51d696639a361c903b643b6a09d554d2 (patch)
tree0a7873f0cb993a849bf5fcb627796fb85b84b951 /src
parentdba6cc46c970c858e2bb00313ca5d58294b5fa57 (diff)
root: Set _start callconv to C
Diffstat (limited to 'src')
-rw-r--r--src/root.zig2
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();