Using WASM on Workers to run isolated JS content
I am trying to make use of WASM with QuickJS to dynamically evaluate JS code in an isolated environment, though, I am getting the following error:
Please find a working minimal code in nodejs that makes use of QuickJS but fails when performed on a cloudflare worker:
I am making use of it in a worker like so:
Should I be enabling WASM somewhere in the console/wrangler.toml?
1 Reply
It's a bit late, but you might benefit from this: https://github.com/cloudflare/cloudflare-docs/pull/23945/files