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

Cant postmessage Webassembly Module or Memory #9140

Closed
K0IN opened this issue Jan 17, 2021 · 1 comment
Closed

Cant postmessage Webassembly Module or Memory #9140

K0IN opened this issue Jan 17, 2021 · 1 comment

Comments

@K0IN
Copy link

K0IN commented Jan 17, 2021

I can't postmessage a shared WebAssembly memory or module to a worker:
image

results in:
image

Same happens with wasm module, also I cant use any of them to move wasm execution into a worker
Do I need a special flag for this?

Command I used to run this:
docker run -it --init -v ${PWD}:/app hayd/alpine-deno run --allow-read --unstable --v8-flags="--experimental-wasm-threads" /app/main.ts

test.zip

@lucacasonato
Copy link
Member

lucacasonato commented Jan 17, 2021

Deno does not support structured clone between workers yet. See #3557 (duplicate)

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

No branches or pull requests

2 participants