File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -483,9 +483,10 @@ jobs:
483
483
# Nightly 1.86 as 1.87+ is incompatible with PyOdide as of now
484
484
toolchain : nightly-2025-02-01
485
485
targets : wasm32-unknown-emscripten
486
+ components : rust-src
486
487
- uses : actions/setup-python@v5
487
488
with :
488
- python-version : 3.12
489
+ python-version : 3.13
489
490
- run : |
490
491
pip install pyodide-build>=0.28.0
491
492
echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
@@ -494,6 +495,9 @@ jobs:
494
495
version : ${{ env.EMSCRIPTEN_VERSION }}
495
496
- run : pyodide build
496
497
working-directory : ./bindings/python
498
+ env :
499
+ DEFAULT_CROSS_BUILD_ENV_URL : " https://github.com/pyodide/pyodide/releases/download/0.28.0a3/xbuildenv-0.28.0a3.tar.bz2"
500
+ RUSTFLAGS : " -C link-arg=-sSIDE_MODULE=2 -Z link-native-libraries=no -Z emscripten-wasm-eh"
497
501
498
502
test-ruby :
499
503
strategy :
Original file line number Diff line number Diff line change @@ -295,9 +295,10 @@ jobs:
295
295
# Nightly 1.86 as 1.87+ is incompatible with PyOdide as of now
296
296
toolchain : nightly-2025-02-01
297
297
targets : wasm32-unknown-emscripten
298
+ components : rust-src
298
299
- uses : actions/setup-python@v5
299
300
with :
300
- python-version : 3.12
301
+ python-version : 3.13
301
302
- run : |
302
303
pip install pyodide-build>=0.28.0
303
304
echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
@@ -306,6 +307,9 @@ jobs:
306
307
version : ${{ env.EMSCRIPTEN_VERSION }}
307
308
- run : pyodide build
308
309
working-directory : ./bindings/python
310
+ env :
311
+ DEFAULT_CROSS_BUILD_ENV_URL : " https://github.com/pyodide/pyodide/releases/download/0.28.0a3/xbuildenv-0.28.0a3.tar.bz2"
312
+ RUSTFLAGS : " -C link-arg=-sSIDE_MODULE=2 -Z link-native-libraries=no -Z emscripten-wasm-eh"
309
313
- name : Upload wheels
310
314
uses : actions/upload-artifact@v4
311
315
with :
Original file line number Diff line number Diff line change
1
+ [unstable ]
2
+ build-std = [" std" , " panic_abort" ]
Original file line number Diff line number Diff line change @@ -49,3 +49,6 @@ build-backend = "maturin"
49
49
50
50
[tool .maturin ]
51
51
strip = true
52
+
53
+ [tool .pyodide .build ]
54
+ default_cross_build_env_url = " https://github.com/pyodide/pyodide/releases/download/0.28.0a3/xbuildenv-0.28.0a3.tar.bz2"
You can’t perform that action at this time.
0 commit comments