Skip to content

Commit

Permalink
Merge branch 'zed-industries:main' into show-branch-info
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelk90 authored Feb 21, 2025
2 parents f85c692 + aba89ba commit 5de724c
Show file tree
Hide file tree
Showing 10 changed files with 492 additions and 265 deletions.
13 changes: 1 addition & 12 deletions crates/extension_host/src/wasm_host/wit/since_v0_2_0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,7 @@ pub type ExtensionKeyValueStore = Arc<dyn KeyValueStoreDelegate>;

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::http_client::add_to_linker(linker, f)?;
latest::zed::extension::lsp::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 {
Expand Down
Loading

0 comments on commit 5de724c

Please sign in to comment.