From 87912f3e4f4ba69e23348829ff7c51f041bed1fe Mon Sep 17 00:00:00 2001 From: zackees Date: Sun, 28 Jun 2026 08:54:33 -0700 Subject: [PATCH] fix(ci): add llvm to xwin apt deps for cc-rs (llvm-lib needed by blake3) soldr#1006 Lane 1 first dispatch failure. The fbuild win-x64 cross-compile fails when cc-rs (invoked by blake3's build.rs) tries to archive a static lib but `llvm-lib` isn't on PATH. Adding `llvm` to the apt-install list that already brings in `clang lld zip` for the xwin lane. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/template_native_build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/template_native_build.yml b/.github/workflows/template_native_build.yml index 4d96a2f1..c7de9554 100644 --- a/.github/workflows/template_native_build.yml +++ b/.github/workflows/template_native_build.yml @@ -115,7 +115,11 @@ jobs: if: runner.os == 'Linux' && contains(inputs.target, 'pc-windows-msvc') run: | sudo apt-get update - sudo apt-get install -y --no-install-recommends clang lld zip + # llvm provides llvm-lib + llvm-rc which cc-rs invokes when + # compiling C build scripts (e.g. blake3's blake3.c) under + # cargo-xwin. Without it the win-msvc lane fails at + # `error: failed to find tool "llvm-lib"`. + sudo apt-get install -y --no-install-recommends clang lld llvm zip # cargo-zigbuild — used for two reasons on Linux: # 1. musl cross-compilation (linux_cross targets)