For anyone else encountering this issue when trying to deploy a wasm32-unknown-unknown target in Rust; I made a very simple build script using cargo-make
plugin to both build & optimize the wasm output in one go, commented here.
6 Likes