Stream: wasm-tools

Topic: Components, call_ref, imported memories


view this post on Zulip Alex Crichton (Nov 18 2026 at 18:36):

@fitzgen (he/him) if you're curious --return-call-ref is the flag in wasm-tools component new and wasm-component-ld which uses call_ref for indirect shims. If you compile with -Clink-arg=--import-memory then that's what skips most shims

view this post on Zulip Alex Crichton (Nov 18 2026 at 18:37):

https://github.com/bytecodealliance/wasm-tools/pull/2598

view this post on Zulip Alex Crichton (Nov 18 2026 at 18:37):

and https://github.com/bytecodealliance/wasm-tools/pull/2599

view this post on Zulip fitzgen (he/him) (Nov 18 2026 at 18:37):

thanks!


Last updated: Nov 19 2026 at 20:05 UTC