]> git.proxmox.com Git - wasi-libc.git/blame - libc-bottom-half/sources/abort.c
threads: implement `pthread_create` (#325)
[wasi-libc.git] / libc-bottom-half / sources / abort.c
CommitLineData
7ba6adfc
DG
1#include <stdlib.h>
2
320054e8 3void abort(void) {
d1cd4f48 4 // wasm doesn't support signals, so just trap to halt the program.
320054e8
DG
5 __builtin_trap();
6}