Chris Fallin
7aecd6dac9
Merge pull request #2631 from bjorn3/newbe_debuginfo_stackslot_offsets
Make the stackslot offsets available for debuginfo
4 years ago
bjorn3
76d615049d
Make the stackslot offsets available for debuginfo
4 years ago
Pat Hickey
b29a3bfbb2
fix warnings
4 years ago
Pat Hickey
857ef411b5
upstream fixes are pending for symlink_create & nofollow_errors on windows
4 years ago
Pat Hickey
cd02e5a942
path_rename: make more concessions for windows. this shit sucks but oh well
4 years ago
Pat Hickey
186360fab2
delete temporary tests
4 years ago
Pat Hickey
a06b23a308
even simpler test case
4 years ago
Pat Hickey
330902f44e
add test for incredibly cursed windows rename behavior
4 years ago
Pat Hickey
47a89d3cc2
cargo update. wanted the latest `cap-primitives`
4 years ago
Pat Hickey
dec0038ba0
add a readdir unit test to wasi-cap-std-sync
4 years ago
Pat Hickey
80fce7c1c8
unlink behavior on macos...
4 years ago
Pat Hickey
ca657186f2
fix wasmtime doctest
4 years ago
Pat Hickey
544a491639
fail-fast false on the other matrix too
4 years ago
Pat Hickey
e3850752b2
this windows test should be fixed...
4 years ago
Pat Hickey
f48b45784e
remove dead comment
4 years ago
Pat Hickey
a29b5bdcc8
dep to latest, lockfile already has it
4 years ago
Pat Hickey
c77a11bd5c
tests: macos-specific behavior
4 years ago
Pat Hickey
d83dba47a3
fix publish script
4 years ago
Pat Hickey
b59160c3da
docs!
4 years ago
Pat Hickey
58aa98ac8e
cap-std-sync docs
4 years ago
Pat Hickey
7daa7763e0
rustdoc the errors
4 years ago
Pat Hickey
0ef691b74e
rustdocs!!
4 years ago
Pat Hickey
e511dac9ec
rustdoc the table
4 years ago
Pat Hickey
037c5e398c
remove re-exports
4 years ago
Pat Hickey
7919b191ed
fix tests and exports
4 years ago
Pat Hickey
30c5e8c084
DEBUG: turn off fail-fast for wasmtime build matrix, and test wasi-cap-std-sync first
the wasi-cap-std-sync test is designed to isolate some weird CI behavior
with EPERM on a preopen
4 years ago
Pat Hickey
f17bff5490
fill in Deterministic impl of RngCore
4 years ago
Pat Hickey
e9ad3611f6
get rid of outdated cfg_attr
4 years ago
Pat Hickey
848be8c932
path_rename should work on windows with TESTCONFIG
4 years ago
Pat Hickey
8e015ca9e7
traps needed stdio
4 years ago
Pat Hickey
bb3e391a27
accept fdread event as valid behavior of stdin poll
4 years ago
Pat Hickey
0c4aec391e
actually empty ready bytes of stdin
4 years ago
Pat Hickey
b9a3f8694d
cap-std-sync test runner: read stdin to end before inheriting stdio
4 years ago
Pat Hickey
40e541bfc3
test suite: cap-std-sync test environment does not support fdflags sync
4 years ago
Pat Hickey
cde252c59b
wasi-cap-std-sync: sync family of flags is not supported on file_open
4 years ago
Pat Hickey
993697e221
set_fd_flags is only good for append and nonblock
4 years ago
Pat Hickey
5ee093e774
Merge remote-tracking branch 'origin/main' into pch/wasi_common_cap_std
4 years ago
Pat Hickey
a4372c8c2e
cap-std-sync: test opening a tempdir as ambient and then WasiDir
4 years ago
Pat Hickey
8b9d2c5bbb
cap-std-sync: my set_fd_flags idea didnt seem to work?
4 years ago
Peter Huene
256cc8a518
Merge pull request #2620 from peterhuene/fix-fd-readdir
Fix `fd_readdir` to properly truncate directory entry names.
4 years ago
Peter Huene
0502cadc62
Stop allowing bufused > BUF_LEN in fd_readdir program.
This commit removes what appears to be a workaround to the bug being fixed by
the change in #2620 .
4 years ago
Peter Huene
4632228b35
Fix `fd_readdir` to properly truncate directory entry names.
Previously, `fd_readdir` was truncating directory entry names based on the
calculation of `min(name_len, buf_len - bufused)`, but `bufused` was not being
updated after writing in the `dirent` structure to the buffer.
This allowed `bufused` to be incremented beyond `buf_len` and returned as the
number of bytes written to the buffer, which is invalid.
This fix adjusts `bufused` when the buffer is written to for the `dirent` so
that name truncation happens as expected.
Fixes #2618 .
4 years ago
Pat Hickey
bad169dde3
port https://github.com/bytecodealliance/wasmtime/pull/2620 into rewrite
4 years ago
Alex Crichton
cb7b1aadcc
Fix a memory leak with command modules ( #2017 )
This commit fixes a memory leak that can happen with `Linker::module`
when the provided module is a command. This function creates a closure
but the closure closed over a strong reference to `Store` (and
transitively through any imports provided). Unfortunately a `Store`
keeps everything alive, including `Func`, so this meant that `Store` was
inserted into a cycle which caused the leak.
The cycle here is manually broken by closing over the raw value of each
external value rather than the external value itself (which has a
strong reference to `Store`).
4 years ago
Pat Hickey
92e1949944
doh
4 years ago
Pat Hickey
23b8c6be79
wasi-nn CI: use the same nightly as rest of file ( #2624 )
in particular, this 2020-08-25 fails to build `posish 0.5.9` which is
a dep in PR #2487 . But there's no reason for this to be lagging
behind...
4 years ago
bjorn3
81b4e48f9f
Remove some uses of riscv in tests ( #2600 )
* Remove some uses of riscv in tests
* Fix typo
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Benjamin Bouvier <public@benj.me>
4 years ago
Pat Hickey
ac60b034f0
well this much passes
4 years ago
Pat Hickey
133344e880
woo it passes six tests even though its awful
4 years ago
Pat Hickey
321bf27292
check in virtfs backend test harness
4 years ago