Mark McCaskey
61f1df06d1
implement wasi::path_rename
2019-08-09 15:40:04 +09:00
Mark McCaskey
d0696a0c0e
implement wasi::path_symlink test & fix readlink test
2019-08-08 16:42:27 +09:00
Mark McCaskey
cdfd9afccc
Improve error reporting of IO errors, begin implementation of path_symlink
2019-08-08 11:59:35 +09:00
Mark McCaskey
ddb0b99f12
implement path_link updated unlink, fix tests, add new test
2019-08-07 16:11:38 +09:00
Mark McCaskey
6ad0be1e02
add fd_sync test
2019-08-07 12:41:35 +09:00
Mark McCaskey
dbe96bbce9
add wasi::fd_sync
2019-08-07 12:17:52 +09:00
Mark McCaskey
061d540627
Implement wasi::path_filestat_set_times
2019-08-05 15:53:42 +09:00
Mark McCaskey
6db7bd8f07
get fd_allocate test working
2019-08-05 14:01:04 +09:00
Mark McCaskey
f0eb85a919
refactor wasi state file to hide boilerplate
2019-08-05 11:59:32 +09:00
Mark McCaskey
c2e3847e9a
add check for fd_allocate, improve debug str for filestat_t
2019-08-05 11:24:06 +09:00
Mark McCaskey
09acf3e581
Merge branch 'master' into feature/more-wasi-syscalls
2019-08-05 09:55:40 +09:00
Brandon Fish
2f70a199e4
Add deny dead_code lint and fix one error
2019-08-01 20:46:35 -06:00
Syrus
a6461c3b14
Removed explicit hashbrown dependency
2019-07-31 23:18:38 -07:00
Mark McCaskey
e6f188286b
Implement wasi::fd_pread
2019-08-01 14:58:17 +09:00
Mark McCaskey
61d72a179b
implement updating times in wasi::fd_filestat_set_times
2019-08-01 14:06:28 +09:00
Mark McCaskey
a824d8d4d8
Implement wasi::{fd_allocation, fd_filestat_set_size}
2019-08-01 13:34:42 +09:00
Mark McCaskey
7760d5a4a2
simplify example and make public get_wasi_state unsafe
2019-07-31 15:59:08 +09:00
Syrus Akbary
6a4091e78e
Merge branch 'master' into feature/no-mem-uninit
2019-07-30 22:28:56 -07:00
Mark McCaskey
0ab8a0de09
Remove all uses of mem::uninitialized for Rust 1.38
2019-07-31 13:21:20 +09:00
Mark McCaskey
b407633366
add logging to plugin example, improve swap, and add some consts
2019-07-31 12:51:55 +09:00
Mark McCaskey
620a521690
clean up wasi fs public api changes
2019-07-31 09:58:39 +09:00
Mark McCaskey
fba09bef1a
Add useful functions for external use of WASI filesystem
2019-07-30 14:53:42 +09:00
Mark McCaskey
a0672b3fa2
updates from code review
2019-07-19 13:36:05 -07:00
Mark McCaskey
328ef4e66e
use correct debug macro on Windows
2019-07-19 12:55:58 -07:00
Mark McCaskey
d74560e1d4
impl fd_close
2019-07-19 12:10:45 -07:00
Mark McCaskey
a8a0dbed91
improve abstraction impl rm syscalls, properly finish create_dir
2019-07-19 11:47:31 -07:00
Mark McCaskey
9910527b30
further improve sandbox, rework syscalls, add tests
2019-07-18 17:14:01 -07:00
Mark McCaskey
e7e1b8c7d3
get tests passing! (more tests and clean up required)
2019-07-17 15:32:47 -07:00
Mark McCaskey
65bc9a5203
massive fs rewrite; add virtual root, tests
2019-07-17 14:00:51 -07:00
Mark McCaskey
78702fc1a0
Merge remote-tracking branch 'origin/master' into feature/wasi-readlink
2019-07-16 13:50:56 -07:00
Mark McCaskey
dd1ddea37b
wip fs improvements
2019-07-15 17:37:11 -07:00
Mark McCaskey
122963909f
symlink code from last week
2019-07-15 09:59:07 -07:00
Mark McCaskey
5119f07ea3
implement wasi::readlink
2019-07-12 15:58:28 -07:00
Mark McCaskey
cbac3ed92d
finish implementation of wasi::fd_seek, fix bug in filestat
2019-07-12 15:10:16 -07:00
Syrus
9c2250dd41
Improved WASI path_readlink function signature
2019-07-05 03:27:13 -07:00
Mark McCaskey
b36783fc50
remove duplicated code, wrap WasmPtr on wasi side
2019-06-11 11:10:42 +02:00
Mark McCaskey
7965ed2746
fix newly introduced bug in wasmptr array access
2019-06-10 13:32:33 +02:00
Mark McCaskey
811acd7e68
probably actually fix the wasi ptr array bug now
2019-06-06 16:19:15 -07:00
Mark McCaskey
d7ea46bab7
add wasmptr memory abstraction to emscripten; update wasi array access
2019-06-06 15:45:19 -07:00
Mark McCaskey
792ebc06fc
fix bug in wasi::environ_get, fix off by one error in env_size_get
2019-05-29 18:04:55 -07:00
Mark McCaskey
b7abc44648
Prevent parent directory from being opened without being preopened wasi
2019-05-22 15:30:38 -07:00
bors[bot]
32c2ad1916
Merge #447
...
447: add trace macro for more verbose debug statements r=MarkMcCaskey a=MarkMcCaskey
The next step is to implement these in terms of `log`
Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <markmccaskey@users.noreply.github.com>
2019-05-21 19:28:34 +00:00
Mark McCaskey
3bedf6218c
Merge branch 'master' into feature/trace-macro
2019-05-21 11:44:50 -07:00
Mark McCaskey
8857e6d320
move check with debug build higher in CI, fix bug in debug macro
2019-05-21 11:15:13 -07:00
Mark McCaskey
e989a86d33
properly handle bad input on windows clocks
2019-05-21 10:55:54 -07:00
Mark McCaskey
2a30fc3f1b
wrap call in unsafe, unconditionally depend on winapi
2019-05-21 10:41:40 -07:00
Mark McCaskey
736bddfe17
debug log error in windows clock, conditionally pull in winapi
2019-05-21 10:35:51 -07:00
Mark McCaskey
08b4b639f4
add realtime and monotonic clock support for wasi on windows
2019-05-21 10:24:06 -07:00
Mark McCaskey
6b81ec0aa7
add mapdir regression test; add testfs; add arg passing system
2019-05-20 17:43:50 -07:00
Mark McCaskey
7cc967e709
flip order of args in mapdir
2019-05-20 16:46:08 -07:00