Skip to content

deps: bump js-component-bindgen crate - #353

Open
andreiltd wants to merge 1 commit into
bytecodealliance:mainfrom
andreiltd:bump-js-bindgen
Open

andreiltd wants to merge 1 commit into
bytecodealliance:mainfrom
andreiltd:bump-js-bindgen

Conversation

@andreiltd

@andreiltd andreiltd commented Sep 16, 2026

Copy link
Copy Markdown
Member

This updates component bindgen to v2. The newer call generation path relies on host-side task setup. Our generated bindings run inside the SpiderMonkey wasm guest, where the native embedding already manages execution and call lifetimes; wew js-component-bindgen exposes skip_fn_call_task_management() exactly for this purpose.

fixes: #350

@andreiltd
andreiltd marked this pull request as draft September 16, 2026 06:23
@andreiltd
andreiltd force-pushed the bump-js-bindgen branch 3 times, most recently from 022f438 to 1a04a23 Compare September 16, 2026 15:33
This updates component bindgen to v2. The newer call generation path
relies on host-side task setup. Our generated bindings run inside the
SpiderMonkey wasm guest, where the native embedding already manages
execution and call lifetimes - that is why this patch introduces
embedding adapter for handling calls, returns and borrows locally.
@andreiltd
andreiltd marked this pull request as ready for review September 16, 2026 15:34
@andreiltd

Copy link
Copy Markdown
Member Author

Hey @vados-cosmonic, could you give this review when you have a moment? 🙏

@vados-cosmonic vados-cosmonic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 🚀

Sorry for the delay here @andreiltd !

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.

Continuous memory growth in jco component

2 participants