dicej opened issue #7149:
I'm updating some code from Wasmtime 13 to the
main
branch, and noticed that it does not appear to be possible to implementStdinStream
orStdoutStream
outside ofwasmtime-wasi
given that thestdio
module is private and those traits are not re-exported anywhere. Is this intentional? If so, is there some other way to e.g. connect stdin to an arbitraryAsyncReadStream
?If it's not intentional, I'd be happy to open a PR to make those traits public.
alexcrichton commented on issue #7149:
Oops indeed that's a bug, a PR sounds good!
dicej edited issue #7149:
I'm updating some code from Wasmtime 13 to the
main
branch, and noticed that it does not appear to be possible to implementStdinStream
orStdoutStream
outside ofwasmtime-wasi
given that thestdio
module is private and those traits are not re-exported anywhere. Is this intentional? If so, is there some other way to e.g. connect stdin to an arbitraryAsyncReadStream
?If it's not intentional, I'd be happy to open a PR to make those traits public.
dicej closed issue #7149:
I'm updating some code from Wasmtime 13 to the
main
branch, and noticed that it does not appear to be possible to implementStdinStream
orStdoutStream
outside ofwasmtime-wasi
given that thestdio
module is private and those traits are not re-exported anywhere. Is this intentional? If so, is there some other way to e.g. connect stdin to an arbitraryAsyncReadStream
?If it's not intentional, I'd be happy to open a PR to make those traits public.
Last updated: Dec 23 2024 at 13:07 UTC