Skip to content

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

Merged
ctron merged 1 commit into
trunk-rs:mainfrom
rogalski-wmii-uni-lodz-pl:patch-1
Sep 18, 2026
Merged

ctron merged 1 commit into
trunk-rs:mainfrom
rogalski-wmii-uni-lodz-pl:patch-1

Conversation

@rogalski-wmii-uni-lodz-pl

Copy link
Copy Markdown
Contributor

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.

@ctron
ctron added this pull request to the merge queue Sep 18, 2026
Merged via the queue into trunk-rs:main with commit 7390e04 Sep 18, 2026
63 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