230 Commits (12972c7fd3ecdf8f1e4206c3f579ebb5a6068f85)
 

Author SHA1 Message Date
Jakub Konka 0d571a4e6d Move extracting fds from context into hostcalls 5 years ago
Jakub Konka 14391bab56 Clean up more hostcalls 5 years ago
Jakub Konka 13823e2b39 Clean up fd_renumber 5 years ago
Jakub Konka 310ecb5b5b Create helper Result<T> type 5 years ago
Jakub Konka 08aa61f066 WASI paths as &str and String (#37) 5 years ago
Jakub Konka c3994bf57b Use Travis for Win builds as well 5 years ago
Jakub Konka 667f272edd Rewrite majority of impl reusing `libstd` (#34) 5 years ago
Jakub Konka 93e1657bae Update cranelift 5 years ago
Jakub Konka b4280d6cd6 Use ManuallyDrop instead of forget 5 years ago
Jakub Konka 7287767a3f Add enough Windows functionality to run WASI tutorial (#22) 5 years ago
Jakub Konka 22c69f46f9 Use build.rs to generate test cases automatically 5 years ago
Jakub Konka 656112d00b Patch wasmtime-wasi to use this wasi-common version 5 years ago
Jakub Konka 81b673f908 Fix typos 5 years ago
Jakub Konka b9c04d431f Move workspace creation outside of runtime instantiation 5 years ago
Jakub Konka d0eac815f0 Fix Windows CI 5 years ago
Jakub Konka ae63b33a23 Refactor 5 years ago
Jakub Konka 20d228f29e Modify test-all.sh script 5 years ago
Jakub Konka 982dbab1f2 Add misc-tests as a submodule dep 5 years ago
Jakub Konka 6ca01ce546 Add wasmtime as default runtime for integration tests 5 years ago
Jakub Konka 513429f1b8 Port trace log from wasmtime-wasi-c crate 5 years ago
Jakub Konka dc05d89a08 Fix path_readlink: with a 0-sized buffer should succeed 5 years ago
Jakub Konka 7fef91c1e4 Fix fd_renumber when trying to renumber a preopen 5 years ago
Jakub Konka a11f2b1d3a Refactor path_get and fix flags in path_open 5 years ago
Jakub Konka b35719fe4a Add fixes so that misc-tests pass 5 years ago
Jakub Konka 54a897cf91 Move common functionality into hostcalls mod 6 years ago
Jakub Konka c113ff32e6 Move preopen_dir handlers from wasmtime to wasi-common 6 years ago
Dan Gohman 9a66400cd8 Use `try_from` instead of the `cast` crate. 6 years ago
Jakub Konka 51fc39e0e6 Backport path_get fix discovered in Win branch 6 years ago
Jakub Konka 0143ed548d Update README 6 years ago
Jakub Konka b1764e18eb Add appveyor for automated Win testing 6 years ago
Jakub Konka 9ae766db2f Add convenience batch script for Win 6 years ago
Jakub Konka c3ff3cf075 Add template for Windows impl 6 years ago
Jakub Konka 7605584691 Move *nix specific implementation to separate module 6 years ago
Dan Gohman 3372e47e5a Fix fd_fdstat_set_rights to set the rights. 6 years ago
Dan Gohman c5bda1f4e1 Fix symlink resolution on Linux and FreeBSD. 6 years ago
Dan Gohman 9823bf6196 Change path_open to not create files with execute privleges. 6 years ago
Dan Gohman 32da43f600 Handle set-size rights correctly when truncating a file. 6 years ago
Dan Gohman d20d787bb7 Don't grant __WASI_RIGHT_FD_FILESTAT_SET_SIZE for directories. 6 years ago
Jakub Konka f95af95d87 Update README 6 years ago
Jakub Konka 14ba585edf Reorganise hostcalls into submodules 6 years ago
Jakub Konka b9871648b2 Import all changes from lucet-wasi 6 years ago
Jakub Konka bbdaf7b686 Re-enable cargo cache in travis ci 6 years ago
Jakub Konka 5ff4f57f97 Disable cargo cache in travis ci temporarily 6 years ago
Jakub Konka 5aa598520c Rename C prefix from __wasi to wasi_common_ 6 years ago
Jakub Konka 52eda1498a Correctly unpack &mut [T] into *mut T and usize 6 years ago
Jakub Konka 006198eb92 Generate C bindings for all hostcalls 6 years ago
Jakub Konka 9ad16cc702 Add sanity tests 6 years ago
Jakub Konka 7f3c325cdf Dereference pointers and call the hostcall fn 6 years ago
Jakub Konka 4a5910b4a3 Capture correct return type 6 years ago
Jakub Konka 7791166859 Generate C fn name prefixed with __wasi_ 6 years ago