File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,16 +19,22 @@ jobs:
1919 steps :
2020 - uses : actions/checkout@v4
2121
22- # Host Rust installation (for Windows/ macOS)
23- - name : Install Rust
24- if : runner.os != 'Linux '
22+ # Host Rust installation (macOS) - Robust explicit install for cross-compilation
23+ - name : Install Rust (macOS)
24+ if : runner.os == 'macOS '
2525 run : |
2626 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal
2727 source $HOME/.cargo/env
2828 rustup target add aarch64-apple-darwin x86_64-apple-darwin
2929 rustup show
3030 echo "$HOME/.cargo/bin" >> $GITHUB_PATH
3131
32+ # Host Rust installation (Windows) - Simple update
33+ - name : Install Rust (Windows)
34+ if : runner.os == 'Windows'
35+ run : |
36+ rustup update stable
37+
3238 - name : Build wheels
3339 uses : pypa/cibuildwheel@v2.16.5
3440 env :
You can’t perform that action at this time.
0 commit comments