commit 64d62c2b4ce43bd33461df8aaa6cbb08e8413888
parent 6703dd334737ff172c1882a04f6f54c686db4030
Author: Ember Sawady <ecs@d2evs.net>
Date: Wed, 31 May 2023 02:06:49 +0000
rt: update for @noreturn abort
Signed-off-by: Ember Sawady <ecs@d2evs.net>
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/rt/abort+test.ha b/rt/abort+test.ha
@@ -30,6 +30,7 @@ const reasons: [_]str = [
"slice allocation capacity smaller than initializer", // 5
"assertion failed", // 6
"error occured", // 7
+ "return from @noreturn function", // 8
];
export @noreturn fn abort_fixed(loc: str, i: int) void = {
diff --git a/rt/abort.ha b/rt/abort.ha
@@ -15,6 +15,7 @@ const reasons: [_]str = [
"slice allocation capacity smaller than initializer", // 5
"assertion failed", // 6
"error occured", // 7
+ "return from @noreturn function", // 8
];
export @noreturn fn abort_fixed(loc: str, i: int) void = {