Skip to content

Conversation

hoodmane
Copy link
Member

We don't need these anymore. link_native_libs=no was fixed by:
rust-lang/libc#4002
and wasm_bigint was fixed by:
rust-lang/rust#131736

"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",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I guess this will make building for existing versions annoying. I'll leave these defaults here and just set RUSTFLAGS in Makefile.envs.

@hoodmane hoodmane closed this Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant