Casper Beyer
d0ccab7fb7
fix(std/wasi): return flags from fd_fdstat_get ( #7112 )
2020-08-25 13:40:29 -04:00
Casper Beyer
f7174267e3
test(std/wasi): add wasi-testsuite as a submodule ( #7042 )
2020-08-25 08:36:50 -04:00
Casper Beyer
9b0f9c8765
fix(std/wasi): always capture syscall exceptions ( #7116 )
...
This wraps all exported syscalls in an exception catching delegate to
ensure that the stack is never unexpectedly unwound.
2020-08-24 19:04:11 -04:00
Casper Beyer
e8968e6bf4
BREAKING(std/wasi): rename Module to Context ( #7110 )
...
This commit renames Module and ModuleOptions to context to avoid stutter
confusion, e.g avoid having documentation that says things like
instantiate the snapshot's module's module.
2020-08-24 18:21:06 +02:00
Casper Beyer
c1d543e10a
BREAKING(std/wasi): use record for exports ( #7109 )
2020-08-24 18:12:16 +02:00
Casper Beyer
5adb6cba3e
docs(std/wasi): fix reference to the wrong object in example ( #7124 )
2020-08-20 11:48:33 -04:00
Casper Beyer
de34166891
fix(std/wasi): remove number overload from rights in path_open ( #6768 )
2020-07-16 11:01:49 -04:00
David Sherret
cde4dbb351
Use dprint for internal formatting ( #6682 )
2020-07-14 15:24:17 -04:00
Casper Beyer
9e0bc25142
test(std/wasi): add std file read and write tests ( #6671 )
2020-07-07 00:49:04 -04:00
Casper Beyer
714b894370
fix(std/wasi): return errno::success from fd_tell ( #6636 )
2020-07-05 21:38:48 -04:00
Casper Beyer
5b09e721d3
test(std/wasi) add std::fs::File seek test ( #6648 )
2020-07-05 21:36:45 -04:00
Casper Beyer
79400b8f7d
feat(std/wasi): implement fd_readdir ( #6631 )
2020-07-05 18:08:05 -04:00
Casper Beyer
960800888a
test(std/wasi): explicitly assert each expected arg ( #6633 )
2020-07-05 18:03:34 -04:00
Casper Beyer
cc2dda6754
test(std/wasi): add create directory and file tests ( #6603 )
2020-07-02 09:15:02 -04:00
Casper Beyer
971dfcf9bb
test(std/wasi): add rename test ( #6573 )
2020-06-29 23:37:05 -04:00
Casper Beyer
9b749945bb
test(std/wasi): add hard-link test ( #6571 )
2020-06-29 20:37:15 -04:00
Casper Beyer
cb16439e85
feat(std/wasi): implement fd_sync ( #6560 )
2020-06-29 17:45:39 -04:00
Casper Beyer
3c5459d849
feat(std/wasi) implement fd_filestat_set_size ( #6558 )
2020-06-29 14:36:22 -04:00
Casper Beyer
4cde7fdc9a
feat(std/wasi): implement fd_datasync ( #6556 )
2020-06-29 10:44:08 -04:00
Casper Beyer
06f34a1aed
feat(std/wasi) implement fd_filestat_get ( #6555 )
2020-06-29 09:34:18 -04:00
Casper Beyer
5f3d730df0
fix(std/wasi): use lookupflags for path_filestat_get ( #6530 )
2020-06-27 15:55:05 -04:00
Casper Beyer
40dcfc8996
fix(std/wasi): path_filestat_get padding ( #6509 )
2020-06-27 13:53:43 +02:00
Casper Beyer
99f4a710f1
test(std/wasi): add read, write and metadata tests ( #6494 )
2020-06-26 15:36:46 -04:00
Casper Beyer
9107b1ea3f
test(wasi/std): remove v8 flags from test runner ( #6496 )
2020-06-26 12:34:55 -04:00
Marcos Casagrande
6527189520
doc(std/wasi): fix example ( #6464 )
2020-06-24 22:21:39 -04:00
Casper Beyer
f39c890714
doc(std/wasi) add a list of supported syscalls ( #6460 )
2020-06-24 17:03:40 -04:00
Casper Beyer
a354b248ea
feat(std/wasi): add wasi_snapshot_preview1 ( #6441 )
2020-06-24 09:27:31 -04:00