diff options
| author | 2025-12-10 19:43:22 +0100 | |
|---|---|---|
| committer | 2025-12-10 19:43:22 +0100 | |
| commit | 74cdeac3210d3a09addd1aec5cee1bfe144cb163 (patch) | |
| tree | 5b27e06542487e3b2d12442940b683b43bd18776 | |
| parent | af06c52a860c3a805055b9e0365666ff66c3de3c (diff) | |
| download | macaw-74cdeac3210d3a09addd1aec5cee1bfe144cb163.tar.gz macaw-74cdeac3210d3a09addd1aec5cee1bfe144cb163.tar.bz2 macaw-74cdeac3210d3a09addd1aec5cee1bfe144cb163.zip | |
fix: wasm web multi-threading
| -rw-r--r-- | .cargo/config.toml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml index 7b1202b..e2f8b2d 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -16,6 +16,13 @@ rustflags = [ # uncommenting the three lines below "-C", "target-feature=+atomics,+bulk-memory,+mutable-globals", + "-C", "link-arg=--shared-memory", + "-C", "link-arg=--max-memory=1073741824", + "-C", "link-arg=--import-memory", + "-C", "link-arg=--export=__wasm_init_tls", + "-C", "link-arg=--export=__tls_size", + "-C", "link-arg=--export=__tls_align", + "-C", "link-arg=--export=__tls_base", ] [unstable] |
