Help getting wasm_thread package working with Dioxus. #4218
Unanswered
sean-parent
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to get wasm_thread working with dioxus. I have it building, but I get an error trying to spawn a thread that the memory cannot be copied, which indicates that I'm not running with a SharedArrayBuffer (but could be wrong). I believe this issue is caused by the Dioxus server not setting COOP security headers. I tried dropping the coi-serviceworker script into my build, but it doesn't work after being processed by the Dixous build.
Any help would be appreciated.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions