70 Commits (710cc4ce82fa91ae44c9d022fcca99d5b3d83080)
 

Author SHA1 Message Date
Alex Crichton 710cc4ce82 Update wasmtime and wit-bindgen (#68) 2 years ago
Dan Gohman 9b10c0b90a Change the filesystem timestamp to seconds+nanoseconds. (#55) 2 years ago
Dan Gohman 528f095d33 Use the `wasi-stderr` API for stderr (#59) 2 years ago
Dan Gohman 66e39bb34c Add `eprintln`, `unreachable`, and other macros. (#62) 2 years ago
Dan Gohman 902ca94d75 Implement `sync` and `datasync` on files and directories. 2 years ago
Dan Gohman 6a41baf306 Don't fail poll for per-fd failures. 2 years ago
Dan Gohman e5ee34fada Allocate bool results at the end of the events buffer. 2 years ago
Dan Gohman e34b6d90fd Fix some bugs turned up in the Wasmtime testsuite. 2 years ago
Dan Gohman 49cd5e4efb Implement file append functionality. (#50) 2 years ago
Alex Crichton 72feade7d9 Try to detect memory corruption with "magic" canaries (#52) 2 years ago
Dan Gohman 3a49d68588 Minor cleanups (#49) 2 years ago
Joel Dice 359a7964f9 implement `wasi-filesystem::readdir` and related functions (#45) 2 years ago
Dan Gohman 21ba68b41b Implement `command` exit statuses. (#40) 2 years ago
Dan Gohman decb08c00d Add pseudo-streams. (#29) 2 years ago
Joel Dice bad0f20d10 implement more host filesystem functions 2 years ago
Joel Dice 32c1a87a86 add support for environment variables and preopens 2 years ago
Dan Gohman 36a0fa76a3 Fix `fd_renumber` to handle output fds that aren't previously allocated. (#38) 2 years ago
Dan Gohman e20ab42597 Add a way to get a random `u64`. (#36) 2 years ago
Joel Dice 6dc3646f32 add tests for `wasi-random`, `wasi-clocks`, and stdin (#30) 2 years ago
Dan Gohman e0c00bd34d Don't print extra metadata in stdout/stderr, and implement proc_exit (#27) 2 years ago
Dan Gohman bf3d212ae9 Implement `fd_renumber`. (#21) 2 years ago
Alex Crichton 0a54cdfabc Implement the `fd_readdir` function (#23) 2 years ago
Alex Crichton 57b934c663 Fix prints in non-command builds (#19) 2 years ago
Dan Gohman 6f0e31c2e3 Add a `badf` error code. 2 years ago
Dan Gohman 91fff49f0f Implement `path_open`. (#18) 2 years ago
Alex Crichton 3477cd0285 Update a few aspects of the adapter build (#17) 2 years ago
Joel Dice 20bccd27cb sketch of `poll_oneoff` polyfill (#11) 2 years ago
Alex Crichton b5411878b7 Implement `args_{get,sizes_get}` functions (#16) 2 years ago
Alex Crichton 2503102e91 Simplify global state management in adapter (#13) 2 years ago
Alex Crichton 567d941fac Update Wasmtime/tooling dependencies (#14) 2 years ago
Alex Crichton acf9dc2ee9 Implement `clock_{time,res}_get` (#12) 2 years ago
Dan Gohman 87854bbb43 Implement `fd_fdstat_get` and `fd_fdstat_set_flags`. 2 years ago
Dan Gohman 28cb8bd932 Swap `info` and `fd-info` 2 years ago
Dan Gohman be17956d8b Implement path_rename, path_symlink, and path_unlink_file. 2 years ago
Dan Gohman 4a102a2bf7 Implement path_create_directory, path_filestat_get, path_link. 2 years ago
Dan Gohman 41b94d5369 Implement fd_filestat_set_size, fd_pread, and fd_pwrite. 2 years ago
Dan Gohman 4974e79fd7 Implement polyfills for several wasi-filesystem functions 2 years ago
Pat Hickey f4baeb2142 Merge pull request #5 from sunfishcode/no-handles 2 years ago
Pat Hickey 58497fdafe cabi_export_realloc is another bad allocator for our bad allocator museum 2 years ago
Pat Hickey 2ab5b8cd38 skip codegen for command, and fill in the entrypoint manually 2 years ago
Pat Hickey 5abb9d380d adapter: take args, have two cabi_{import,export}_realloc funcs, and call adaptee start 2 years ago
Pat Hickey 3b637e228a notes for what to do next 2 years ago
Pat Hickey 5db1242d99 switch to latest wit_bindgen_guest_rust macro 2 years ago
Pat Hickey 66f6c66431 fd_info fixup 2 years ago
Dan Gohman b5175d35a5 Convert to use `u32` indices instead of handles. 2 years ago
Dan Gohman 629231e939 Remove an unneeded `register_buffer`. 2 years ago
Dan Gohman 0e29983b11 Multiply memory.grow's result by the page size, and handle failure. 2 years ago
Dan Gohman ac64e345b4 Simplify a few casts. 2 years ago
Dan Gohman a30558aa3e Add a file descriptor bounds check. 2 years ago
Dan Gohman 3cc7342a5f Fixes to avoid static inits. 2 years ago