-
Notifications
You must be signed in to change notification settings - Fork 337
"Fatal: error in validating input" with rustwasm-worker-template #1474
Comments
I ran in to this today as well. It looks like this is caused by rustwasm/wasm-pack#886 , which is explored more in WebAssembly/binaryen#3006 . If you're just getting started, you can add this to your [package.metadata.wasm-pack.profile.release]
wasm-opt = false That disables running the |
Thanks for the response @ispivey, much appreciated. You're definitely right as I just installed Ubuntu in a VM and it happens there as well. |
Just thought of something: It would be helpful if the error output said specifically to put |
This issue has been automatically marked as stale because it has not had recent activity in the last 180 days. It will be closed if no further activity occurs in the next week. Please feel free to comment if you'd like it to remain open, and thank you for your contributions. |
🐛 Bug Report
Environment
rustc -V
: rustc 1.45.1 (c367798cf 2020-07-26)node -v
: v14.1.0wrangler -V
: wrangler 1.10.3wrangler.toml
: Default contents after runningwrangler generate my-app https://github.com/cloudflare/rustwasm-worker-template
Steps to reproduce
wrangler generate my-app https://github.com/cloudflare/rustwasm-worker-template
account_id
inwrangler.toml
wrangler preview
What did you expect to see?
I expected to be able to preview the Hello World.
What did you see instead?
Massive error output too large to paste from wasm compilation, followed by:
Note that even if I put
wasm-opt = false
under my[package]
section inCargo.toml
,wasm-opt
is still run.The text was updated successfully, but these errors were encountered: