File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
crates/factor-outbound-http/src Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ where
189189 let ( state, table) = C :: get_data_with_table ( store) ;
190190 WasiHttpImpl ( WasiHttpImplInner { state, table } )
191191 }
192+
192193 let get_http = get_http :: < C > as fn ( & mut C :: StoreData ) -> WasiHttpImpl < WasiHttpImplInner < ' _ > > ;
193194 wasmtime_wasi_http:: bindings:: http:: outgoing_handler:: add_to_linker :: < _ , HasHttp > (
194195 linker, get_http,
@@ -206,6 +207,7 @@ where
206207 let ( state, table) = C :: get_data_with_table ( store) ;
207208 p3:: WasiHttpCtxView { ctx : state, table }
208209 }
210+
209211 let get_http_p3 = get_http_p3 :: < C > as fn ( & mut C :: StoreData ) -> p3:: WasiHttpCtxView < ' _ > ;
210212 p3:: bindings:: http:: handler:: add_to_linker :: < _ , p3:: WasiHttp > ( linker, get_http_p3) ?;
211213 p3:: bindings:: http:: types:: add_to_linker :: < _ , p3:: WasiHttp > ( linker, get_http_p3) ?;
You can’t perform that action at this time.
0 commit comments