Add Rust impl of wasmtime_ssp_proc_exit

This commit is contained in:
Jakub Konka
2019-04-27 10:57:35 +02:00
committed by Dan Gohman
parent e906370661
commit 69e44caa29
5 changed files with 8 additions and 11 deletions

View File

@@ -810,10 +810,6 @@ __wasi_errno_t wasmtime_ssp_poll_oneoff(
size_t *nevents
) WASMTIME_SSP_SYSCALL_NAME(poll_oneoff) __attribute__((__warn_unused_result__));
_Noreturn void wasmtime_ssp_proc_exit(
__wasi_exitcode_t rval
) WASMTIME_SSP_SYSCALL_NAME(proc_exit);
__wasi_errno_t wasmtime_ssp_proc_raise(
__wasi_signal_t sig
) WASMTIME_SSP_SYSCALL_NAME(proc_raise) __attribute__((__warn_unused_result__));

View File

@@ -2530,12 +2530,6 @@ __wasi_errno_t wasmtime_ssp_poll_oneoff(
return error;
}
void wasmtime_ssp_proc_exit(
__wasi_exitcode_t rval
) {
_Exit(rval);
}
__wasi_errno_t wasmtime_ssp_proc_raise(
__wasi_signal_t sig
) {