Skip to content

Commit edf9fbf

Browse files
committed
Add rustup target add x86_64-apple-darwin [cd build]
1 parent 0f6129c commit edf9fbf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build-python-wheels.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ jobs:
161161
uses: actions-rust-lang/setup-rust-toolchain@v1
162162
# For Linux, Rust will be installed inside a cibuildwheel container later
163163

164+
- name: Setup rustup target
165+
if: startsWith(matrix.os, 'macos-')
166+
run: rustup target add x86_64-apple-darwin
167+
# For cross-compile x86 on GitHub arm64 runner
168+
164169
- name: Build Python wheels
165170
uses: pypa/cibuildwheel@v2.21.3
166171
with:

0 commit comments

Comments
 (0)