Stream: git-wasmtime

Topic: wasmtime / issue #5965 `Clone` for `wasmtime::component::...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 08 2023 at 14:38):

Fristi opened issue #5965:

Would Clone be possible for wasmtime::component::PreInstance as well? There is a Clone for wasmtime::PreInstance.

Use case: I would like use tokio::spawn or other concurrent consumers of my WASM module to work, it seems you need Clone for that right ? (quite new to Rust)

view this post on Zulip Wasmtime GitHub notifications bot (Mar 08 2023 at 15:23):

alexcrichton commented on issue #5965:

Yep! I've added it in https://github.com/bytecodealliance/wasmtime/pull/5966

view this post on Zulip Wasmtime GitHub notifications bot (Mar 08 2023 at 17:55):

alexcrichton closed issue #5965:

Would Clone be possible for wasmtime::component::PreInstance as well? There is a Clone for wasmtime::PreInstance.

Use case: I would like use tokio::spawn or other concurrent consumers of my WASM module to work, it seems you need Clone for that right ? (quite new to Rust)

view this post on Zulip Wasmtime GitHub notifications bot (Mar 09 2023 at 08:23):

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

view this post on Zulip Wasmtime GitHub notifications bot (Mar 09 2023 at 15:20):

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