commit 482cfc29c42414dfafe22898926e10e8c2250f37
parent 416e6b362d6d0c747fada4713159c0c6a0c8cf89
Author: Armin Weigl <tb46305@gmail.com>
Date: Sat, 20 Feb 2021 17:07:31 +0100
Add @noreturn to start_ha
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rt/rtmain.ha b/rt/rtmain.ha
@@ -5,7 +5,7 @@ const @symbol("__init_array_end") init_end: [*]*fn() void;
const @symbol("__fini_array_start") fini_start: [*]*fn() void;
const @symbol("__fini_array_end") fini_end: [*]*fn() void;
-export fn start_ha(iv: [*]uintptr) void = {
+export @noreturn fn start_ha(iv: [*]uintptr) void = {
const ninit = (&init_end: uintptr - &init_start: uintptr): size
/ size(*fn() void);
for (let i = 0z; i < ninit; i += 1) {