From edf9fbf461b7a1507e009ce7c3263c32eb96fab2 Mon Sep 17 00:00:00 2001 From: Arthit Suriyawongkul Date: Mon, 11 Nov 2024 17:02:35 +0000 Subject: [PATCH] Add rustup target add x86_64-apple-darwin [cd build] --- .github/workflows/build-python-wheels.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-python-wheels.yml b/.github/workflows/build-python-wheels.yml index 8207393..455b4ad 100644 --- a/.github/workflows/build-python-wheels.yml +++ b/.github/workflows/build-python-wheels.yml @@ -161,6 +161,11 @@ jobs: uses: actions-rust-lang/setup-rust-toolchain@v1 # For Linux, Rust will be installed inside a cibuildwheel container later + - name: Setup rustup target + if: startsWith(matrix.os, 'macos-') + run: rustup target add x86_64-apple-darwin + # For cross-compile x86 on GitHub arm64 runner + - name: Build Python wheels uses: pypa/cibuildwheel@v2.21.3 with: