From 1682b83b3fb3a041f99b14556a96ebeb471acbbe Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Wed, 24 Jun 2026 09:08:04 +0000 Subject: [PATCH] ci(windows-drivers): point driver-build LIBCLANG_PATH at LLVM 21.1.2 Use the provisioned C:\\llvm-21 libclang for the driver build so wdk-sys bindgen builds clean (the runner default LLVM is a ToT/22-dev with the E0080 layout-test overflow bug). Queues behind the in-progress LLVM provision on the single runner. Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitea/workflows/windows-drivers.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/windows-drivers.yml b/.gitea/workflows/windows-drivers.yml index 9aba2d7..cce4ab9 100644 --- a/.gitea/workflows/windows-drivers.yml +++ b/.gitea/workflows/windows-drivers.yml @@ -119,6 +119,9 @@ jobs: env: # wdk-build otherwise picks 10.0.28000.0 (no km/crt) and bindgen fails — pin the WDK SDK version. Version_Number: '10.0.26100.0' + # wdk-sys bindgen layout tests overflow (E0080) on the runner's default LLVM (ToT/22-dev); point at + # the pinned LLVM 21.1.2 that windows-drivers-rs builds clean against (provisioned to C:\llvm-21). + LIBCLANG_PATH: 'C:\llvm-21\bin' steps: - uses: actions/checkout@v4 - name: cargo build wdk-probe (windows-drivers-rs)