Disable sccache during dev extension builds (#20270)

This commit is contained in:
Kirill Bulatov 2024-11-06 02:01:56 +02:00 committed by GitHub
parent e47b305ca7
commit b23835b5a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`")?;