Wasm: cosmetic changes to fake WASI functions

This commit is contained in:
Brian Carroll 2022-01-15 15:20:46 +00:00
parent 94ea50f56a
commit f4650654ca

View file

@ -316,11 +316,6 @@
return {
wasi_snapshot_preview1: {
fd_close,
fd_fdstat_get,
fd_seek,
fd_write,
proc_exit,
args_get: sig6,
args_sizes_get: sig6,
environ_get: sig6,
@ -329,9 +324,9 @@
clock_time_get: sig9,
fd_advise: sig10,
fd_allocate: sig11,
// fd_close: sig12,
fd_close,
fd_datasync: sig12,
// fd_fdstat_get: sig6,
fd_fdstat_get,
fd_fdstat_set_flags: sig6,
fd_fdstat_set_rights: sig11,
fd_filestat_get: sig6,
@ -344,10 +339,10 @@
fd_read: sig15,
fd_readdir: sig14,
fd_renumber: sig6,
// fd_seek: sig16,
fd_seek,
fd_sync: sig12,
fd_tell: sig6,
// fd_write: sig15,
fd_write,
path_create_directory: sig7,
path_filestat_get: sig17,
path_filestat_set_times: sig18,
@ -359,7 +354,7 @@
path_symlink: sig17,
path_unlink_file: sig7,
poll_oneoff: sig15,
// proc_exit: sig2,
proc_exit,
proc_raise: sig12,
sched_yield: sig22,
random_get: sig6,