Skip to content

Commit 2a049c5

Browse files
committed
add abort
1 parent cc6a5b6 commit 2a049c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/fulminate/fulminate.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,8 @@ let main
634634
builtins.lem. Hoisting/lowering doesn't affect needing to do this *)
635635
"static const int __cerbvar_INT_MAX = 0x7fffffff;\n";
636636
"static const int __cerbvar_INT_MIN = ~0x7fffffff;\n";
637-
"static const unsigned long long __cerbvar_SIZE_MAX = ~(0ULL);\n"
637+
"static const unsigned long long __cerbvar_SIZE_MAX = ~(0ULL);\n";
638+
"_Noreturn void abort(void);"
638639
];
639640
[ c_tag_defs ];
640641
[ (if not (String.equal record_defs "") then "\n/* CN RECORDS */\n\n" else "");

0 commit comments

Comments
 (0)