Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ci-enterprise): pin Windows toolchain to 1.95+ so cpal compiles

Louis Beaumont6da7df83db04
diff --git a/.github/workflows/release-enterprise.yml b/.github/workflows/release-enterprise.yml
index ab516c991..1ba0cfd7c 100644
--- a/.github/workflows/release-enterprise.yml
+++ b/.github/workflows/release-enterprise.yml
@@ -50,6 +50,16 @@ jobs:
with:
node-version: "20"
+ # Install pinned stable toolchain first (1.95+) — cpal fork's wasapi
+ # module uses windows-core 0.62 traits that don't resolve under the
+ # default 1.93.1 that rustup-init.exe currently ships. Matches the
+ # consumer release-app.yml setup which builds Windows x64 successfully.
+ - name: Install Rust toolchain (stable)
+ uses: dtolnay/rust-toolchain@stable
+ with:
+ toolchain: stable
+ targets: x86_64-pc-windows-msvc
+
- name: Install Rust (Windows)
run: |
Invoke-WebRequest https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe -OutFile rustup-init.exe