aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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();