Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
zig: Temporarily roll back changes depending on new extension API (#13709)
Marshall Bowers464a4439f7c7
diff --git a/Cargo.lock b/Cargo.lockindex 4e29aa2666c..66226f419e5 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -13891,7 +13891,7 @@ dependencies = [name = "zed_zig"version = "0.1.2"dependencies = [- "zed_extension_api 0.0.7",+ "zed_extension_api 0.0.6",][[package]]diff --git a/extensions/zig/Cargo.toml b/extensions/zig/Cargo.tomlindex 5ddd06f1061..89714bf450d 100644--- a/extensions/zig/Cargo.toml+++ b/extensions/zig/Cargo.toml@@ -13,4 +13,4 @@ path = "src/zig.rs"crate-type = ["cdylib"][dependencies]-zed_extension_api = { path = "../../crates/extension_api" }+zed_extension_api = "0.0.6"diff --git a/extensions/zig/src/zig.rs b/extensions/zig/src/zig.rsindex a42d62be29a..2eb1db9eef3 100644--- a/extensions/zig/src/zig.rs+++ b/extensions/zig/src/zig.rs@@ -43,7 +43,15 @@ impl ZigExtension {// them, at time of writing.//// ZLS tracking issue: https://github.com/zigtools/zls/issues/1879- let release = zed::github_release_by_tag_name("zigtools/zls", "0.11.0")?;+ // let release = zed::github_release_by_tag_name("zigtools/zls", "0.11.0")?;++ let release = zed::latest_github_release(+ "zigtools/zls",+ zed::GithubReleaseOptions {+ require_assets: true,+ pre_release: false,+ },+ )?;let (platform, arch) = zed::current_platform();let asset_name = format!(