I was following your serverless-rust tutorial on my own.
I was getting an error in the CloudFlare Script editor on save, that the function
it seems my WASM is importing "__wbindgen_throw":
and I saw it was implemented in the generated JS:
so I added it to the importObject:
(those are my function references, won't coincide with your code)....
and everything worked!
This maybe caused by some update to the wasm-bindgen or wasm-pack since you wrote the tutorial maybe?
When following the tutorial on my own, it seems my WASM is importing "__wbindgen_throw", and I saw it implemented in the JS, and I was getting an error on it being missing in the CloudFlare Script editor, so I added it to the importObject and everything worked.
Thanks Andrew! I don't have the environment setup anymore to try this out but I've updated the blog post with a link to your PR and a credit to help folks find their way. https://blog.cloudflare.com/cloudflare-workers-as-a-serverless-rust-platform/