From 939a9a29b6574b13726be856ed9576fe760119c4 Mon Sep 17 00:00:00 2001 From: Benjamin Carlsson Date: Thu, 10 Sep 2026 21:22:56 -0700 Subject: [PATCH] Avoid the Java JIT crash in ARM64 voice builds --- .github/workflows/rust-release-windows.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rust-release-windows.yml b/.github/workflows/rust-release-windows.yml index 376b4ce3fa..8ec85f3346 100644 --- a/.github/workflows/rust-release-windows.yml +++ b/.github/workflows/rust-release-windows.yml @@ -220,6 +220,8 @@ jobs: env: ARCH: ${{ matrix.arch }} VOICE_ARCH: ${{ matrix.arch }} + # Avoid the observed Java 25 C1 crash in this method on Windows ARM64. + JAVA_TOOL_OPTIONS: ${{ matrix.arch == 'aarch64' && '-XX:CompileCommand=exclude,net.starlark.java.eval.BuiltinFunction::getPositionalOnlyArgumentVector' || '' }} BUILDBUDDY_API_KEY: "" run: | (cd codex-rs && cargo update --workspace)