Replies: 1 comment
-
I'm not what you are trying to do, but here on the documentation You have an example on how to use a wasm module from javascript In a more specific way, what you are trying to do is a wasm specific problem, not a workers problem, that is, as long as you can use it as a reference to a rust worker, you are good to go. The how on you are able to do so, I'm not sure, I would search a bit about Component Model in Wasi 0.2.0, an I can speculate on how you might be able to do so, but I guess the first links are what you are looking for, as rust workers, are also loaded by a javascript script in a similar way. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use another .wasm lib in a Rust based worker. Specifically, I'd like to use stuff from the WASM build of esbuild. esbuild is written in Go of course so I can't just use it directly but I should be able to use the WASM build somehow I assume?
Beta Was this translation helpful? Give feedback.
All reactions