You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently started working with Cloudflare and Cloudflare Workers, and I've encountered what appears to be a regression with "JS Snippets". Upon reviewing the repository's history, it seems that this feature was previously functioning correctly, but I suspect changes, potentially around the "glue" code, might have affected this functionality.
Error when running npm run dev
WebAssembly code:
Shim.mjs code (glue code):
Let me know if I miss something or if this is a real issue.
If you clone my repo and want to be sure to reproduce the error do not forget to replace the wrangler.toml build command with something like this, since my repo contains a fix:
[build]
command = "worker-build --release"
The text was updated successfully, but these errors were encountered:
I'm not familiar with this mechanism, is this part of wasm-bindgen that we need to support in our custom glue code? I know that we treat WebAssembly imports different than other runtimes which may be the issue here. Are you using Miniflare 2 or 3?
Is there an existing issue for this?
What version of
workers-rs
are you using?0.0.18
What version of
wrangler
are you using?3.15.0
Describe the bug
Hi everyone,
I've recently started working with Cloudflare and Cloudflare Workers, and I've encountered what appears to be a regression with "JS Snippets". Upon reviewing the repository's history, it seems that this feature was previously functioning correctly, but I suspect changes, potentially around the "glue" code, might have affected this functionality.
Error when running
npm run dev
WebAssembly code:
Shim.mjs code (glue code):
Let me know if I miss something or if this is a real issue.
Thanks,
Mat
Steps To Reproduce
Use my example: https://github.com/MathieuTricoire/workers-rs/tree/fix-js-snippets/examples/js_snippets
If you clone my repo and want to be sure to reproduce the error do not forget to replace the
wrangler.toml
build command with something like this, since my repo contains a fix:The text was updated successfully, but these errors were encountered: