wasi-libc/libc-bottom-half/sources/abort.c
2019-04-15 09:47:16 -07:00

7 lines
139 B
C

#include <stdlib.h>
void abort(void) {
// WASI doesn't yet support signals, so just trap to halt the program.
__builtin_trap();
}