Skip to content

Make resource dtor type explicit. #638

Merged
lukewagner merged 1 commit intoWebAssembly:mainfrom
michael-weigelt:mwe/dtor
Apr 17, 2026
Merged

Make resource dtor type explicit. #638
lukewagner merged 1 commit intoWebAssembly:mainfrom
michael-weigelt:mwe/dtor

Conversation

@michael-weigelt
Copy link
Copy Markdown
Contributor

@michael-weigelt michael-weigelt commented Apr 16, 2026

Follow-up to #624.

In a 64bit component, the resource rep argument can be i32 or i64, and the destructor's signature must match it.

@michael-weigelt michael-weigelt marked this pull request as draft April 16, 2026 15:36
@michael-weigelt michael-weigelt marked this pull request as ready for review April 16, 2026 15:40
Copy link
Copy Markdown
Member

@lukewagner lukewagner left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks!

@lukewagner lukewagner merged commit dad6e78 into WebAssembly:main Apr 17, 2026
1 check 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