]> git.proxmox.com Git - wasi-libc.git/commit
Replace old <signal.h> support with emulated <signal.h> support. (#183)
authorDan Gohman <sunfish@mozilla.com>
Fri, 29 May 2020 20:07:52 +0000 (13:07 -0700)
committerGitHub <noreply@github.com>
Fri, 29 May 2020 20:07:52 +0000 (13:07 -0700)
commitd1cd4f4836899adb06dd3c9876fc2006558e01f7
tree11e92cc40a1cb3a0461aae48d348a9dd9550d720
parenta6d0b4c74bedf1c1c95de97ed7e119fc4fe1b7a6
Replace old <signal.h> support with emulated <signal.h> support. (#183)

wasm doesn't support signals, so provide an emulation layer, enabled
with -D_WASI_EMULATED_SIGNAL and -lwasi-emulated-signal.
Makefile
basics/sources/abort.c
expected/wasm32-wasi/include-all.c
expected/wasm32-wasi/predefined-macros.txt
libc-bottom-half/headers/public/__header_bits_signal.h [deleted file]
libc-bottom-half/signal/signal.c [new file with mode: 0644]
libc-top-half/musl/arch/wasm32/bits/signal.h
libc-top-half/musl/include/signal.h
libc-top-half/musl/src/conf/sysconf.c
libc-top-half/musl/src/include/signal.h