Skip to content

Commit ddb39cd

Browse files
committed
Remove -Zlink-native-libraries=no from RUSTFLAGS
The upstream bug that made this necessary seems to have been resolved: emscripten-core/emscripten#16680
1 parent fac0109 commit ddb39cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyodide_build/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def to_env(self) -> dict[str, str]:
195195
"pyo3_config_file": str(TOOLS_DIR / "pyo3_config.ini"),
196196
"meson_cross_file": str(TOOLS_DIR / "emscripten.meson.cross"),
197197
# Rust-specific configuration
198-
"rustflags": "-C link-arg=-sSIDE_MODULE=2 -C link-arg=-sWASM_BIGINT -Z link-native-libraries=no",
198+
"rustflags": "-C link-arg=-sSIDE_MODULE=2 -C link-arg=-sWASM_BIGINT",
199199
"cargo_build_target": "wasm32-unknown-emscripten",
200200
"cargo_target_wasm32_unknown_emscripten_linker": "emcc",
201201
"rust_toolchain": "nightly-2024-01-29",

0 commit comments

Comments
 (0)