Change summary
crates/extension/src/wasm_host/wit/since_v0_1_0.rs | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
Detailed changes
@@ -55,16 +55,7 @@ pub type ExtensionHttpResponseStream = Arc<Mutex<::http_client::Response<AsyncBo
pub fn linker() -> &'static Linker<WasmState> {
static LINKER: OnceLock<Linker<WasmState>> = OnceLock::new();
- LINKER.get_or_init(|| {
- super::new_linker(|linker, f| {
- Extension::add_to_linker(linker, f)?;
- latest::zed::extension::github::add_to_linker(linker, f)?;
- latest::zed::extension::nodejs::add_to_linker(linker, f)?;
- latest::zed::extension::platform::add_to_linker(linker, f)?;
- latest::zed::extension::slash_command::add_to_linker(linker, f)?;
- Ok(())
- })
- })
+ LINKER.get_or_init(|| super::new_linker(Extension::add_to_linker))
}
impl From<Command> for latest::Command {