From 3f6a6e79ea013b747943bc06e8e6b7a50c8a2171 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Wed, 15 Jan 2025 21:40:10 +0100 Subject: [PATCH] Update rust_toolchain, drop link_native_libs=no and bigint flags We don't need these anymore --- integration_tests/recipes/orjson/meta.yaml | 2 -- pyodide_build/config.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/integration_tests/recipes/orjson/meta.yaml b/integration_tests/recipes/orjson/meta.yaml index 0b00acd8..78947174 100644 --- a/integration_tests/recipes/orjson/meta.yaml +++ b/integration_tests/recipes/orjson/meta.yaml @@ -9,8 +9,6 @@ source: requirements: executable: - rustup -build: - script: export RUSTFLAGS="-Z link-native-libraries=yes" about: home: https://github.com/ijl/orjson PyPI: https://pypi.org/project/orjson diff --git a/pyodide_build/config.py b/pyodide_build/config.py index 89cdc809..76618ca9 100644 --- a/pyodide_build/config.py +++ b/pyodide_build/config.py @@ -204,10 +204,10 @@ def to_env(self) -> dict[str, str]: "cmake_toolchain_file": str(TOOLS_DIR / "cmake/Modules/Platform/Emscripten.cmake"), "meson_cross_file": str(TOOLS_DIR / "emscripten.meson.cross"), # Rust-specific configuration - "rustflags": "-C link-arg=-sSIDE_MODULE=2 -C link-arg=-sWASM_BIGINT -Z link-native-libraries=no", + "rustflags": "-C link-arg=-sSIDE_MODULE=2", "cargo_build_target": "wasm32-unknown-emscripten", "cargo_target_wasm32_unknown_emscripten_linker": "emcc", - "rust_toolchain": "nightly-2024-01-29", + "rust_toolchain": "nightly-2025-01-15", # Other configuration "pyodide_jobs": "1", "skip_emscripten_version_check": "0",