Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set async_recursion to ?Send for wasm32 arch #204

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

astnmsn
Copy link

@astnmsn astnmsn commented Mar 19, 2024

In the dependency upgrade for wgpu from 16 -> 19, wbgpu started properly labeling their structs as non send/sync which broke the expectations for the async_recursion proc macro. By configuring the macro to not expect a type that is Send, the wasm build of wgpu should properly compile. No callsites of the updaded function require that the type be Send, so there wasn't a need to update anything else.

In the dependency upgrade for wgpu from 16 -> 19, wbgpu started properly labeling their structs as non send/sync which broke the expectations for the async_recursion proc macro.
By configuring the macro to not expect a type that is Send, the wasm build of wgpu should properly compile.
No callsites of the updaded function require that the type be Send, so there wasn't a need to update anything else.
@pixelspark
Copy link
Collaborator

Thanks for sorting this out @astnmsn 💯

@pixelspark pixelspark merged commit df34358 into webonnx:master Mar 19, 2024
17 of 26 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