Skip to content

Commit 6219fc6

Browse files
committed
fix(ci): disambiguate sccache binary for ubi backend on x86_64
ubi:mozilla/sccache picks sccache-dist instead of sccache on x86_64 linux because both release assets match the platform and ubi selects sccache-dist first alphabetically. The sccache-dist binary is the distributed build scheduler, not the compiler cache wrapper, causing RUSTC_WRAPPER to fail with 'unrecognized subcommand'. Use matching="sccache-v" to filter release assets at download time, ensuring ubi selects sccache-v0.14.0-* instead of sccache-dist-v0.14.0-*. The exe option alone is insufficient because ubi partial-matches sccache-dist containing sccache. arm64 is unaffected since sccache-dist has no arm64 release asset.
1 parent 344f99c commit 6219fc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ kubectl = "1.35.1"
1515
uv = "0.10.2"
1616
protoc = "29.6"
1717
helm = "4.1.1"
18-
"ubi:mozilla/sccache" = "0.14.0"
18+
"ubi:mozilla/sccache" = { version = "0.14.0", matching = "sccache-v" }
1919

2020
[env]
2121
_.path = ["{{config_root}}/scripts/bin"]

0 commit comments

Comments
 (0)