Skip to content

Conversation

@asteurer
Copy link
Contributor

This fixes a bug where wit_async.SubtaskWait(uint32(wasm_import_method_*(params, returnArea))) will throw a compilation error because it expects params to be type uintptr. I discovered this when generating the bindings for wasi:[email protected].

@dicej will you let me know if this needs additional test coverage?

@asteurer
Copy link
Contributor Author

Also, the CI / Async test ran for a VERY long time, and I'm not sure why...When I ran them locally, the go tests passed without issue.

@dicej
Copy link
Collaborator

dicej commented Jan 12, 2026

@dicej will you let me know if this needs additional test coverage?

Yes, please. Ideally it would be a minimal '*.wit' file under tests/codegen that hits the case you fixed.

Also, the CI / Async test ran for a VERY long time, and I'm not sure why...When I ran them locally, the go tests passed without issue.

Thanks for pointing that out. Looking back through https://github.com/bytecodealliance/wit-bindgen/actions, I'm seeing several six hour CI runs prior to this PR. I'll dig into it.

@dicej
Copy link
Collaborator

dicej commented Jan 12, 2026

I've opened #1495 for the CI issue.

@asteurer
Copy link
Contributor Author

@dicej When you have a moment, this is ready for review

Copy link
Collaborator

@dicej dicej left a comment

Choose a reason for hiding this comment

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

Thanks!

@dicej dicej added this pull request to the merge queue Jan 12, 2026
Merged via the queue into bytecodealliance:main with commit 2d98864 Jan 12, 2026
26 of 27 checks passed
@asteurer asteurer deleted the bugfix branch January 12, 2026 19:05
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