File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
crates/wasmtime/src/runtime/component Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ fn should_have_failed_validation<T>(what: &str) -> Result<T> {
2121 ) )
2222}
2323
24+ pub ( crate ) fn check_blocking ( _: & mut dyn VMStore ) -> Result < ( ) > {
25+ Ok ( ( ) )
26+ }
27+
2428pub ( crate ) fn poll_and_block < R : Send + Sync + ' static > (
2529 _store : & mut dyn VMStore ,
2630 future : impl Future < Output = Result < R > > + Send + ' static ,
Original file line number Diff line number Diff line change @@ -51,8 +51,10 @@ impl FunctionStyle for SyncStyle {
5151 const ASYNC : bool = false ;
5252}
5353
54+ #[ cfg( feature = "component-model-async" ) ]
5455struct AsyncStyle ;
5556
57+ #[ cfg( feature = "component-model-async" ) ]
5658impl FunctionStyle for AsyncStyle {
5759 const ASYNC : bool = true ;
5860}
You can’t perform that action at this time.
0 commit comments