@@ -486,7 +486,9 @@ jobs:
486
486
target : ${{ matrix.target }}
487
487
manylinux : ${{ matrix.manylinux }}
488
488
args : --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10' }}
489
- rust-toolchain : stable
489
+ # Limit windows builds to 1.77 to keep Windows 7 support.
490
+ # FIXME: Unpin when Python 3.8 support is dropped. (3.9 requires Windows 10)
491
+ rust-toolchain : ${{ (matrix.os == 'windows' && '1.77') || 'stable' }}
490
492
docker-options : -e CI
491
493
492
494
- run : ${{ (matrix.os == 'windows' && 'dir') || 'ls -lh' }} dist/
@@ -544,8 +546,6 @@ jobs:
544
546
# generate self-schema now, so we don't have to do so inside docker in maturin build
545
547
- run : python generate_self_schema.py
546
548
547
- - run : rustc --version --verbose
548
-
549
549
- name : build initial wheel
550
550
uses : PyO3/maturin-action@v1
551
551
with :
@@ -554,7 +554,9 @@ jobs:
554
554
--release
555
555
--out pgo-wheel
556
556
--interpreter ${{ matrix.interpreter }}
557
- rust-toolchain : stable
557
+ # Limit windows builds to 1.77 to keep Windows 7 support.
558
+ # FIXME: Unpin when Python 3.8 support is dropped. (3.9 requires Windows 10)
559
+ rust-toolchain : ${{ (matrix.os == 'windows' && '1.77') || 'stable' }}
558
560
docker-options : -e CI
559
561
env :
560
562
RUSTFLAGS : " -Cprofile-generate=${{ github.workspace }}/profdata"
@@ -582,7 +584,9 @@ jobs:
582
584
--release
583
585
--out dist
584
586
--interpreter ${{ matrix.interpreter }}
585
- rust-toolchain : stable
587
+ # Limit windows builds to 1.77 to keep Windows 7 support.
588
+ # FIXME: Unpin when Python 3.8 support is dropped. (3.9 requires Windows 10)
589
+ rust-toolchain : ${{ (matrix.os == 'windows' && '1.77') || 'stable' }}
586
590
docker-options : -e CI
587
591
env :
588
592
RUSTFLAGS : " -Cprofile-use=${{ github.workspace }}/merged.profdata"
0 commit comments