bytecodealliance / bytecodealliance/wrpc

wrpc_transport depending on wasi on wasm target even without "net" feature

Open
#805 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
336
Forks
47
Avg merge
2d 2h
Merged PRs (30d)
26

Description

Hello, while I was trying to explore using this crate as sort of an early access way of using wasip3's stream/future types by using AsyncReadStream/AsyncWriteStream in wasip2 and dedicating a thread in running the component, I faced compilation errors.

The compilation errors came from https://github.com/bytecodealliance/wasm-tools/issues/2047, and through that, I found that some of my other dependencies was using wasi@0.14 while the wrpc_transport in crates.io still uses wasi@0.13.

Temporarily overriding wrpc_transport to target this repository does fix the compilation (since this repository had already updated deps to wasi@0.14). Still, I think it would be great that wrpc_transport doesn't depend on wasi if "net" is not enabled moving forward.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.