Pat Hickey
bbbe168ca1
ctx: i guess we need environment variables!
2021-01-28 11:34:00 -08:00
Pat Hickey
6c0f312a1b
fix bug: i was ignoring the symlink follow flag in path_filestat_{get,
...
set_times}
2021-01-27 12:42:15 -08:00
Pat Hickey
220509f3ed
latest system-interface
2021-01-27 12:17:42 -08:00
Pat Hickey
1eb8a8a7fe
integrate GetSetFdFlags!
...
change reopen_with_fdflags(&self, fdflags) -> Result<Box<dyn WasiFile>>
to set_fdflags(&mut self, fdflags) -> Result<()>.
this makes way more sense than my prior hare-brained schemes.
2021-01-26 12:23:52 -08:00
Pat Hickey
c98d6f6201
fix warning
2021-01-26 12:18:39 -08:00
Pat Hickey
fded424e68
Dir::hard_link: dont support symlink following
...
if we're asked to follow symlinks, give ERRNO_INVAL instead.
2021-01-25 17:08:02 -08:00
Pat Hickey
957c434b67
ErrorExt: trap convenience method
2021-01-25 12:16:01 -08:00
Pat Hickey
2b70ea8b91
windows scheduler passes tests
...
unfortunately this does essentially nothing to convince me of its
correctness
2021-01-22 18:26:45 -08:00
Pat Hickey
19254bfd72
error mapping for windows!
2021-01-22 15:44:32 -08:00
Pat Hickey
423973a8ea
push the error types conversion all the way through
2021-01-22 15:29:09 -08:00
Pat Hickey
a06c4fbe1a
make a pipe filetype, reorder filetype enum
2021-01-22 11:37:39 -08:00
Pat Hickey
86d369c72a
inline poll from yanix
2021-01-21 18:17:49 -08:00
Pat Hickey
9e0d295f8c
use unsafe to mark reopen_with_fdflags as having special safety features
2021-01-21 18:08:15 -08:00
Pat Hickey
69b7352332
various stdio fixes
2021-01-21 17:57:12 -08:00
Pat Hickey
f1a5dce716
change set_fdflags to reopen_with_fdflags
2021-01-21 17:56:03 -08:00
Pat Hickey
85c3b73b4e
stdio compiles on windows!
2021-01-21 13:51:18 -08:00
Pat Hickey
fcd00f5de1
move more deps to cap-std-sync, define own SystemTimeSpec
2021-01-21 12:35:55 -08:00
Pat Hickey
61885b7071
stub in windows scheduler, get to some interesting errors
2021-01-20 21:03:33 -08:00
Pat Hickey
7ec03631da
inline only what we need of cap-std/system-interface traits
2021-01-20 20:53:44 -08:00
Pat Hickey
f3e40e2fc4
restructure cap-std impls into their own crate
2021-01-20 19:09:15 -08:00