Skip to content

Commit a9a65e6

Browse files
authored
fix emscripten wheels (#771)
1 parent f4124a6 commit a9a65e6

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Wheel builds for Python libraries that are pure-Rust with no complex
88
# dependencies (no C dependencies, no http fetching deps)
9-
name: Python wheels (core)
9+
name: Python wheels (non-io)
1010

1111
on:
1212
push:
@@ -175,6 +175,8 @@ jobs:
175175
- uses: actions/setup-python@v5
176176
with:
177177
python-version: ${{ env.PYTHON_VERSION }}
178+
- run: |
179+
echo RUSTFLAGS="-Zinline-mir=no" >> $GITHUB_ENV
178180
- run: pip install pyodide-build
179181
- name: Build wheels
180182
uses: PyO3/maturin-action@v1

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v4
2121
- uses: actions/setup-python@v4
2222
with:
23-
python-version: 3.8
23+
python-version: 3.x
2424
architecture: x64
2525

2626
- name: Build wheels
@@ -54,7 +54,7 @@ jobs:
5454
# - uses: actions/checkout@v4
5555
# - uses: actions/setup-python@v4
5656
# with:
57-
# python-version: 3.8
57+
# python-version: 3.x
5858

5959
# - name: Build wheels
6060
# uses: PyO3/maturin-action@v1
@@ -136,7 +136,7 @@ jobs:
136136

137137
- uses: actions/setup-python@v4
138138
with:
139-
python-version: 3.8
139+
python-version: 3.x
140140
architecture: ${{ matrix.target }}
141141

142142
- uses: dtolnay/rust-toolchain@stable
@@ -172,7 +172,7 @@ jobs:
172172
# - uses: actions/checkout@v4
173173
# - uses: actions/setup-python@v4
174174
# with:
175-
# python-version: 3.8
175+
# python-version: 3.x
176176
# architecture: x64
177177

178178
# - name: Build wheels
@@ -215,7 +215,7 @@ jobs:
215215

216216
# - uses: actions/setup-python@v4
217217
# with:
218-
# python-version: 3.8
218+
# python-version: 3.x
219219

220220
# - name: Build wheels
221221
# uses: PyO3/maturin-action@v1

0 commit comments

Comments
 (0)