Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Disable sccache during dev extension builds (#20270)

Kirill Bulatovb23835b5a50b
diff --git a/crates/extension/src/extension_builder.rs b/crates/extension/src/extension_builder.rs
index a92d878d1e1..ca15e184783 100644
--- a/crates/extension/src/extension_builder.rs
+++ b/crates/extension/src/extension_builder.rs
@@ -135,6 +135,8 @@ impl ExtensionBuilder {
.args(options.release.then_some("--release"))
.arg("--target-dir")
.arg(extension_dir.join("target"))
+ // WASI builds do not work with sccache and just stuck, so disable it.
+ .env("RUSTC_WRAPPER", "")
.current_dir(extension_dir)
.output()
.context("failed to run `cargo`")?;