Skip to content

Web: add instructions for emscripten-wasm-eh errors#125

Merged
Bromeon merged 1 commit intogodot-rust:masterfrom
PgBiel:wasm-eh
Jan 3, 2026
Merged

Web: add instructions for emscripten-wasm-eh errors#125
Bromeon merged 1 commit intogodot-rust:masterfrom
PgBiel:wasm-eh

Conversation

@PgBiel
Copy link
Contributor

@PgBiel PgBiel commented Jan 3, 2026

Based on recent user reports, this suggests adding -Z emscripten-wasm-eh=false to RUSTFLAGS to fix LinkError: WebAssembly.instantiate(): Import #6 "env" "__cpp_exception": tag import requires a WebAssembly.Tag.

Related: rust-lang/rust#147224 (enabled emscripten-wasm-eh by default in rustc), godot-rust/gdext#1119 (discussion in gdext's repository)

@Bromeon Bromeon merged commit 03f1ab5 into godot-rust:master Jan 3, 2026
4 checks passed
@Bromeon Bromeon added the enhancement Ongoing improvements to readability, flow, etc. label Jan 3, 2026
@Bromeon
Copy link
Member

Bromeon commented Jan 3, 2026

Thank you so much! 👍

@PgBiel PgBiel deleted the wasm-eh branch January 3, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Ongoing improvements to readability, flow, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants