-
Is it possible to split my Rust/WASM code into separate bundles and load them on demand? For example, I have a Rust workspace with two crates — I’d like to compile each into its own WASM module (the on page /stat/:id - statistic bundle How can I set this up? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Automatic binary splitting and lazy-loading are not trivial for WebAssembly. The framework does have built-in support for this (see #3477 and the linked example) but the build tooling is lagging behind a bit. (It should be coming some time in the near future -- say this summer, roughly.) |
Beta Was this translation helpful? Give feedback.
-
Just noting here - v0.8.5 just released with full wasm splitting, woot |
Beta Was this translation helpful? Give feedback.
Not yet, unfortunately.