1 2 3 4 5 6
#include <stdlib.h> void abort(void) { // wasm doesn't support signals, so just trap to halt the program. __builtin_trap(); }