From ea0b1e4444ddb88f0fbd130d4de7bf66abeb189d Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Tue, 24 Mar 2026 16:22:36 -0600 Subject: [PATCH] fix(ci): add Rust target for all platforms, not just cross-compilation macOS x64 builds on ARM64 runners also need the target added explicitly. Use rustup target add for all matrix entries to avoid Blacksmith's target rewriting in dtolnay/rust-toolchain. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/build-native.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-native.yml b/.github/workflows/build-native.yml index 420cf872f..6de0db41f 100644 --- a/.github/workflows/build-native.yml +++ b/.github/workflows/build-native.yml @@ -47,8 +47,7 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable - - name: Add Rust cross-compilation target - if: matrix.cross + - name: Add Rust compilation target run: rustup target add ${{ matrix.target }} - name: Cache Rust build artifacts