Skip to content

update rustflags in config.toml to the flags suggested in wasm_thread - #1093

Open
rogalski-wmii-uni-lodz-pl wants to merge 1 commit into
trunk-rs:mainfrom
rogalski-wmii-uni-lodz-pl:patch-1
Open

update rustflags in config.toml to the flags suggested in wasm_thread#1093
rogalski-wmii-uni-lodz-pl wants to merge 1 commit into
trunk-rs:mainfrom
rogalski-wmii-uni-lodz-pl:patch-1

Conversation

@rogalski-wmii-uni-lodz-pl

Copy link
Copy Markdown

I tried running the example, and it did not run out of the box. The code failed in the browser, with a js error

called `Result::unwrap()` on an `Err` value: JsValue(DataCloneError: Failed to execute 'postMessage' on 'Worker': #<Memory> could not be cloned.

The additional flags suggested by wasm_thread seem to fix the problem.

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.

1 participant