We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
InstancePre::instantiate_async
1 parent 5f7cf53 commit 2566056Copy full SHA for 2566056
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