Skip to content

Commit

Permalink
Remove -Zlink-native-libraries=no from RUSTFLAGS
Browse files Browse the repository at this point in the history
The upstream bug that made this necessary seems to have been resolved:
emscripten-core/emscripten#16680
  • Loading branch information
hoodmane committed Oct 16, 2024
1 parent fac0109 commit ddb39cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyodide_build/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def to_env(self) -> dict[str, str]:
"pyo3_config_file": str(TOOLS_DIR / "pyo3_config.ini"),
"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 -C link-arg=-sWASM_BIGINT",
"cargo_build_target": "wasm32-unknown-emscripten",
"cargo_target_wasm32_unknown_emscripten_linker": "emcc",
"rust_toolchain": "nightly-2024-01-29",
Expand Down

0 comments on commit ddb39cd

Please sign in to comment.