Fristi opened issue #5965:
Would
Clone
be possible forwasmtime::component::PreInstance
as well? There is aClone
forwasmtime::PreInstance
.Use case: I would like use
tokio::spawn
or other concurrent consumers of my WASM module to work, it seems you needClone
for that right ? (quite new to Rust)
alexcrichton commented on issue #5965:
Yep! I've added it in https://github.com/bytecodealliance/wasmtime/pull/5966
alexcrichton closed issue #5965:
Would
Clone
be possible forwasmtime::component::PreInstance
as well? There is aClone
forwasmtime::PreInstance
.Use case: I would like use
tokio::spawn
or other concurrent consumers of my WASM module to work, it seems you needClone
for that right ? (quite new to Rust)
Fristi commented on issue #5965:
Thanks for the quick addition! Was skimming through 6.0.1 tag and I saw the commit was in: https://github.com/bytecodealliance/wasmtime/compare/v6.0.1...main
But it seems not be in the crate/docs? https://docs.rs/wasmtime/latest/wasmtime/component/struct.InstancePre.html
alexcrichton commented on issue #5965:
Ah the 6.0.1 release was not for this issue, and this will get released with 8.0.0 that gets published on April 20
Last updated: Nov 22 2024 at 16:03 UTC