Skip to content

feat: wasm-bindgen 0.2.108#169

Open
dsherret wants to merge 2 commits into
denoland:mainfrom
dsherret:feat_wasm_bindgen_0_2_108
Open

feat: wasm-bindgen 0.2.108#169
dsherret wants to merge 2 commits into
denoland:mainfrom
dsherret:feat_wasm_bindgen_0_2_108

Conversation

@dsherret

Copy link
Copy Markdown
Contributor

No description provided.

@KnorpelSenf

Copy link
Copy Markdown

I really need this. Is there a way to get this merged?

…shape

Since wasm-bindgen 0.2.107, in bundler mode Output::js() returns the
small entry module and Output::start() returns the _bg.js bindings
glue (previously js() was the glue and start() was just the start
snippet). wasmbuild generates its own entry file, so it was writing
the wasm-bindgen entry out as {name}.internal.{ext}, which referenced
never-emitted {name}_bg.js/{name}_bg.wasm files and failed type
checking.

Take the glue from start(), and expose an explicit hasStart flag
(derived from whether the entry calls __wbindgen_start) instead of
returning the raw start snippet.
@CLAassistant

CLAassistant commented Jul 7, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@bartlomieju

Copy link
Copy Markdown
Member

@dsherret any objections to landing and releasing?

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.

4 participants