pub fn add_only_http_to_linker_sync<T>(l: &mut Linker<T>) -> Result<()>where
T: WasiHttpView + 'static,Expand description
A slimmed down version of add_to_linker_sync which only adds
wasi:http interfaces to the linker.
This is useful when using wasmtime_wasi::p2::add_to_linker_sync for
example to avoid re-adding the same interfaces twice.