Skip to content

fix(bindgen): fix realloc fn lowering#1509

Merged
vados-cosmonic merged 1 commit into
bytecodealliance:mainfrom
andreiltd:fix/node26-p3-lowering
May 19, 2026
Merged

fix(bindgen): fix realloc fn lowering#1509
vados-cosmonic merged 1 commit into
bytecodealliance:mainfrom
andreiltd:fix/node26-p3-lowering

Conversation

@andreiltd
Copy link
Copy Markdown
Member

The runtime code does this:

if (args.getReallocFn && this.#elemMeta.getReallocFn === undefined) {
  this.#elemMeta.getReallocFn = getReallocFn;
}

so lowering should emit undefined, not a function.

The runtime code does this:

```
if (args.getReallocFn && this.#elemMeta.getReallocFn === undefined) {
  this.#elemMeta.getReallocFn = getReallocFn;
}
```

so lowering should emit undefined, not a function.
@andreiltd andreiltd requested a review from vados-cosmonic as a code owner May 19, 2026 07:47
@vados-cosmonic vados-cosmonic enabled auto-merge May 19, 2026 07:53
@vados-cosmonic vados-cosmonic added this pull request to the merge queue May 19, 2026
Merged via the queue into bytecodealliance:main with commit d441928 May 19, 2026
40 checks passed
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.

2 participants