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) <noreply@anthropic.com>
This commit is contained in:
parent
b80cebfd4a
commit
ea0b1e4444
1 changed files with 1 additions and 2 deletions
3
.github/workflows/build-native.yml
vendored
3
.github/workflows/build-native.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue