Stream: git-wasmtime

Topic: wasmtime / PR #2776 `wasmtime-wasi` usability: re-exports...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 26 2021 at 00:03):

pchickey opened PR #2776 from pch/wasmtime_wasi_usability to main:

Until more impls come along, every user of wasmtime-wasi is going to use wasi-cap-std-sync as their WasiCtxBuilder. Rather than make our users track a dependency on an additional crate, re-export it under the top-level sync module.

This re-export sits behind the sync Cargo feature, which is enabled by default. Users who want to opt out of these re-exports can disable default-features.

Additionally, wasi-cap-std-sync now re-exports the cap_std::fs::Dir type that it consumes in WasiCtxBuilder::preopened_dir. Again, just keeps the consumers of these crates from tracking another dep version.

And finally I cleaned up those extra deps for the wasmtime cli.
<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Mar 26 2021 at 00:07):

pchickey updated PR #2776 from pch/wasmtime_wasi_usability to main.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 26 2021 at 00:07):

pchickey requested fitzgen for a review on PR #2776.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 26 2021 at 17:04):

fitzgen submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 26 2021 at 22:38):

pchickey updated PR #2776 from pch/wasmtime_wasi_usability to main.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 27 2021 at 00:36):

pchickey merged PR #2776.


Last updated: Nov 22 2024 at 16:03 UTC