We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
InstancePre::instantiate_async
1 parent 4bd910d commit 7d8a4c1Copy full SHA for 7d8a4c1
1 file changed
crates/wasmtime/src/runtime/instance.rs
@@ -853,8 +853,11 @@ impl<T: 'static> InstancePre<T> {
853
#[cfg(feature = "async")]
854
pub async fn instantiate_async(
855
&self,
856
- mut store: impl AsContextMut<Data: Send>,
857
- ) -> Result<Instance> {
+ mut store: impl AsContextMut<Data = T>,
+ ) -> Result<Instance>
858
+ where
859
+ T: Send,
860
+ {
861
let mut store = store.as_context_mut();
862
let imports = pre_instantiate_raw(
863
&mut store.0,
0 commit comments