From 24aee3eb5ee90dd211ef183d65fec774dc7049c9 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Wed, 10 Jun 2026 09:18:19 -0700 Subject: [PATCH] [codex] link Windows releases with LLD (#27315) Windows x64 release builds spend about 36.5 of 48 minutes in final LLVM code generation and MSVC linking. Use the existing target-aware MSVC setup action to select LLD for release builds; the Windows ARM64 archive path already exercises the action and its LLD wrapper. In https://github.com/openai/codex/actions/runs/27242495616, macOS becomes the critical path after roughly four minutes of Windows improvement, so this is expected to reduce total workflow time by about four minutes. --- .github/workflows/rust-release-windows.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/rust-release-windows.yml b/.github/workflows/rust-release-windows.yml index e7574d85d..49e627c1b 100644 --- a/.github/workflows/rust-release-windows.yml +++ b/.github/workflows/rust-release-windows.yml @@ -89,6 +89,11 @@ jobs: with: targets: ${{ matrix.target }} + - name: Configure LLVM linker + uses: ./.github/actions/setup-msvc-env + with: + target: ${{ matrix.target }} + - name: Cargo build (Windows binaries) shell: bash run: |