- On Unix, run
curl https://sh.rustup.rs -sSf | sh
in your shell. This downloads and runs rustup-init.sh, which in turn downloads and runs the correct version of the rustup-init executable for your platform. - On Windows, download and run rustup-init.exe.
- run
rustup self uninstall
in your shell.
- use rust aya : https://www.cnblogs.com/davad/p/16883527.html
- https://juejin.cn/post/7156102433581383716
- https://github.com/rustwasm/wasm-pack-template/tree/master