Files
wasmtime/crates/test-programs
Pat Hickey 0f5bdc6497 only wasi_cap_std_sync and wasi_tokio need to define WasiCtxBuilders (#2917)
* wasmtime-wasi: re-exporting this WasiCtxBuilder was shadowing the right one

wasi-common's WasiCtxBuilder is really only useful wasi_cap_std_sync and
wasi_tokio to implement their own Builder on top of.

This re-export of wasi-common's is 1. not useful and 2. shadow's the
re-export of the right one in sync::*.

* wasi-common: eliminate WasiCtxBuilder, make the builder methods on WasiCtx instead

* delete wasi-common::WasiCtxBuilder altogether

just put those methods directly on &mut WasiCtx.

As a bonus, the sync and tokio WasiCtxBuilder::build functions
are no longer fallible!

* bench fixes

* more test fixes
2021-05-21 12:59:39 -05:00
..
2019-11-15 08:03:43 -08:00
2021-04-19 16:00:27 -07:00
2021-04-19 16:00:27 -07:00

This is the test-programs crate, which builds and runs whole programs compiled to wasm32-wasi.

To actually run these tests, the test-programs feature must be enabled, e.g.:

cargo test --features test-programs/test_programs --package test-programs