688 Commits (3c8bb26441b5e48fc20106d20c435a4f47fcfba4)

Author SHA1 Message Date
Trevor Elliott be6f4a5330
Add an `--emit-clif` option to `wasmtime compile` (#6307) 2 years ago
Pat Hickey 87f74e9d1a adapter: path_ apis return NOTDIR instead of BADF when passed file; fixes path_open_dirfd test. (#152) 2 years ago
Pat Hickey 022926019b adapter poll_oneoff: when descriptors.get_*_stream(fd) fails, die with that error (#154) 2 years ago
Pat Hickey 806d23d37c delete spurrious extra line in adapter (this same var is created below) 2 years ago
Pat Hickey f0ed67a15c fix bug in adapter fd_fdstat_set_flags to frob the append flag. 2 years ago
Pat Hickey 93e4bd1630 NFC, looks more consistient to my eye though 2 years ago
Pat Hickey fddf6ca5aa fd_seek: error with invalid offsets in the adapter 2 years ago
Pat Hickey b0fed76389 adapter: change logic around interpeting ATIM and ATIM_NOW (and MTIM equiv) to be consistient with upstream 2 years ago
Pat Hickey b8018edad9 adapter: track blocking state in File, remove uses of set-flags 2 years ago
Pat Hickey 4bba05d716 readlink: fix adapter to return right len, and test to expect truncation 2 years ago
Pat Hickey 3d6e55e0fc adapter: remove incorrect assertions from path_readlink 2 years ago
Pat Hickey 81b4ffe5e0 adapter: fd_allocate gives notsup on all files 2 years ago
Pat Hickey ea15c6f3c5 dead code 2 years ago
Pat Hickey b6d5f24abc return ERRNO_BADF on directory descriptors in appropriate fd operations 2 years ago
Pat Hickey 47554647f3 fix fd_filestat_get: adapter special-case StreamType::Unknown (#139) 2 years ago
Pat Hickey 2078d1314b fd_seek: return the expected errno when trying to seek on a directory. 2 years ago
Pat Hickey 8a32f7dfe8 File: we need to have the DescriptorType around to handle certain corner cases 2 years ago
Pat Hickey 8f80add40f size assertion: refactor to de-duplicate MAX_DESCRIPTORS definition 2 years ago
Pat Hickey 0042b6f4e3 NFC: pull eventtype const definitions out to be reused further down 2 years ago
Pat Hickey 77845fcf38 fix wasi renumber test: return an error in adapter if closing a closed fd 2 years ago
Brendan Burns 2d34dbef4b
Begin implementation of wasi-http (#5929) 2 years ago
Dan Gohman de9711ae85 Rename the command entrypoint from `run` back to `main`. (#131) 2 years ago
Alex Crichton 52e90532e0
Add a limits and trap-on-OOM options to the CLI (#6149) 2 years ago
Alex Crichton 51e8eafff2
Default to the native host for `wasmtime compile` (#6152) 2 years ago
Pat Hickey e5b6452f81 Remove resource abstraction from clocks (#129) 2 years ago
Pat Hickey 566da91239 rename command's `main` to `run` (unfortunately) 2 years ago
Pat Hickey f336265782 adapter: arguments are lazily initialized in State instead of passed to main 2 years ago
Pat Hickey fdd91a99da Descriptors is initialized on creation, use refcell<option<descriptors>> to represent uninit 2 years ago
Pat Hickey c5ca3f1eb3 poll_oneoff: use import allocator solely on the import func call 2 years ago
Pat Hickey a9ddff85f0 renumber: allow overwriting. note it may invalidate preopen table 2 years ago
Pat Hickey 0be419f46f fix 2 years ago
Pat Hickey e199109a0b fix macros 2 years ago
Pat Hickey 1af3c41853 factor descriptors out into a separate module 2 years ago
Pat Hickey ffa75f0f0d get rid of arg_preopens from state, env_preopens are just preopens 2 years ago
Pat Hickey 9d23a6c0c1 host and adapter: provide stdio via preopens, dont pass stdio or arg preopens to main 2 years ago
Pat Hickey f8068634ba adapter: make it a little clearer where unreachable is coming from 2 years ago
Pat Hickey 777dd77f65 wire up adapter macros to stderr stream print 2 years ago
Nick Fitzgerald 90c9bec225
wasmtime: Option to return default values for unknown imports (#6010) 2 years ago
Nick Fitzgerald 9ed441e657
Introduce the `wasmtime-explorer` crate (#5975) 2 years ago
Pat Hickey d4df7eb909 drop cli- prefix from reactor, command features & artifact names 2 years ago
Dan Gohman 684bebbfdd Minor code simplification. 3 years ago
Dan Gohman bb86a3ea6b Support command-line argument preopens. 2 years ago
Dan Gohman 6019641ed9 Update to the latest wit files. 2 years ago
Pat Hickey 34aaaa7f15 code motion: cli related feature names (#104) 2 years ago
Dan Gohman 70a1528f5a Rebase on the wasi-cli world. (#100) 2 years ago
Sven Sauleau 0e9a48afd5
add basic coredump generation (#5868) 2 years ago
Dan Gohman a8295ae98e Rebase on the new wasi-sockets. (#91) 2 years ago
Joel Dice ed90c0e2f2 short-circuit `fd_write` in the adapter 2 years ago
Alex Crichton f807e25ed6 Fix timestamp-to-nanosecond conversion in the adapter (#93) 2 years ago
Dan Gohman 8c51e155de Make Preview2's directory iterator omit `.` and `..`. (#89) 2 years ago