Skip to content

refactor(bindgen): remove usage of _FN_LOCALS#1500

Merged
vados-cosmonic merged 1 commit into
bytecodealliance:mainfrom
vados-cosmonic:fix(bindgen)=fix-usages-of-fn-locals
May 16, 2026
Merged

refactor(bindgen): remove usage of _FN_LOCALS#1500
vados-cosmonic merged 1 commit into
bytecodealliance:mainfrom
vados-cosmonic:fix(bindgen)=fix-usages-of-fn-locals

Conversation

@vados-cosmonic
Copy link
Copy Markdown
Collaborator

This commit removes _FN_LOCALS as it is likely too cumbersome for downstream users -- instead FunctionBindgen has a new parameter (which can be ignored) which contains the information that component processing would normally provide that processing for certain instructions needs.

With this approach, downstream users may build a FunctionBindgen object as normal, and get reasonable/expected values (or control values explicitly), without performing full processing of a component.

@vados-cosmonic vados-cosmonic requested a review from andreiltd as a code owner May 16, 2026 15:05
This commit removes `_FN_LOCALS` as it is likely too cumbersome for
downstream users -- instead `FunctionBindgen` has a new
parameter (which can be ignored) which contains the information that
component processing would normally provide that processing for
certain instructions needs.

With this approach, downstream users may build a `FunctionBindgen`
object as normal, and get reasonable/expected values (or control
values explicitly), *without* performing full processing of a component.
@vados-cosmonic vados-cosmonic force-pushed the fix(bindgen)=fix-usages-of-fn-locals branch from 011bb72 to 96711f6 Compare May 16, 2026 15:06
@vados-cosmonic vados-cosmonic enabled auto-merge May 16, 2026 15:07
@vados-cosmonic vados-cosmonic disabled auto-merge May 16, 2026 15:17
@vados-cosmonic vados-cosmonic merged commit a6224e3 into bytecodealliance:main May 16, 2026
38 of 40 checks passed
@vados-cosmonic vados-cosmonic deleted the fix(bindgen)=fix-usages-of-fn-locals branch May 16, 2026 15:17
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