1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
Commit graph

45 commits

Author SHA1 Message Date
Casper Beyer
9adbca6d19
docs(std/wasi): mark sched_yield as implemented (#8055)
This marks sched_yield as implemented, it is a no-op but will probably
always be and we have passing tests for it.
2020-10-24 16:05:30 +02:00
Casper Beyer
2a83b22385
fix(std/wasi): disallow path_open outside of pre-opened dirfd (#8078) 2020-10-24 16:04:59 +02:00
Casper Beyer
be89bdfed7
test(std/wasi): reduce test duplication (#8053)
This fast-forwards wasi-test-suite a couple of commits removed
duplicate, or near duplicate tests with not much additional value.

Other tests have been merged to reduce the number of modules to make
tests topical to the syscall that is being tested.
2020-10-20 22:54:27 +02:00
tokiedokie
3d65177dbc
docs(std): version all imports in README (#7442)
Use $STD_VERSION in std/ README files to automatically
display proper version.
2020-10-04 14:18:36 +02:00
Trivikram Kamat
d0eb179132
docs: end sentences with a period in markdown (#7813) 2020-10-04 07:19:11 +11:00
Casper Beyer
f9973364dd
docs(std/wasi): remove outdated testing section (#7812) 2020-10-03 16:41:24 +02:00
Casper Beyer
e8b93674ed
docs(std/wasi): fix usage example (#7808)
The usage example is a bit out of date and not compatible with the
stricter definition of the WebAssembly namespace.

This fixes that and makes it a bit cleaner.
2020-10-03 15:52:34 +02:00
Casper Beyer
71a8b1fe27
chore(std/wasi): enable and fix lint errors in snapshot_preview1 (#7360) 2020-09-29 11:41:22 +02:00
Casper Beyer
9d738fc197
test(std/wasi): add fd_renumber test (#7574) 2020-09-21 15:17:01 +02:00
tokiedokie
c4ed3fb7e7
chore: add copyright (#7593) 2020-09-21 08:26:41 -04:00
Casper Beyer
1e6d37f88c
test(std/wasi): add sched_yield test (#7511) 2020-09-16 16:30:12 -04:00
Casper Beyer
15649b61bd
test(std/wasi): explicitly list modules for deterministic test runs (#7245)
This explicitly lists std/wasi test modules in a pre-sorted array for deterministic test runs.

As a side effect it makes it a bit more visible when a test has been added or removed aside
from having to look at the submodule update.
2020-09-04 07:14:51 -04:00
Casper Beyer
c10900b2c1
chore(std/wasi): enable and fix lint errors in tests (#7324) 2020-09-04 07:13:08 -04:00
Casper Beyer
15fd1e8d30
chore(std/wasi): fix no-inner-declarations lints (#7286) 2020-08-31 17:13:55 +02:00
Casper Beyer
a451a97486
fix(cli): use upstream type definitions for WebAssembly (#7216) 2020-08-31 12:04:47 +02:00
Casper Beyer
672350b206
fix(std/wasi): invalid number to bigint conversion in fd_tell (#7215) 2020-08-27 11:38:12 +02:00
Casper Beyer
992248e731
test(std/wasi): seperate test runner into a module (#7191) 2020-08-27 11:21:57 +02:00
Yusuke Tanaka
59428e3d8a
fix(std/wasi): ignore lint errors (#7197) 2020-08-27 11:14:01 +02:00
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