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
$ RUST_LOG=debug wasm-pack build
INFO 2019-10-28T14:40:35Z: wasm_pack::command: Running build command...
INFO 2019-10-28T14:40:36Z: wasm_pack::command::build: Checking rustc version...
INFO 2019-10-28T14:40:36Z: wasm_pack::command::build: rustc version is 38.
INFO 2019-10-28T14:40:36Z: wasm_pack::command::build: Checking crate configuration...
INFO 2019-10-28T14:40:36Z: wasm_pack::command::build: Crate is correctly configured.
INFO 2019-10-28T14:40:36Z: wasm_pack::command::build: Checking for wasm-target...
[INFO]: Checking for the Wasm target...
Error: Cannot find binary path
👟 Steps to reproduce
1.Install cargo, run this command on git-bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
2.Install wasm-pack, run this command on git-bash
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
3.Install msys2,follow steps 1 through 6
http://www.msys2.org/
4.start msys2, install gcc
pacman -S gcc
5.Change toolchain to stable-x86_64-pc-windows-gnu
6.Create a wasm project, follow Quickstart Guide
https://github.com/rustwasm/wasm-pack/tree/v0.8.1
7.Build project on msys2
🌍 Your environment
system: windows 8.1
wasm-pack version: wasm-pack 0.8.1
rustc version: rustc 1.38.0 (625451e37 2019-09-23)
path: /usr/local/bin:/usr/bin:/bin:/opt/bin:/c/windows/system32:/c/windows:/c/windows/System32/Wbem:/c/windows/System32/WindowsPowerShell/v1.0:/g/Software/Microsoft VS Code/bin:/f/softwave/nvm:/f/softwave/nodejs:/f/Program Files/TortoiseSVN/bin:/g/Software/Microsoft VS Code/Code.exe/bin:/c/Program Files (x86)/GtkSharp/2.12/bin:/c/Users/wumingli/.cargo/bin:/e/Program Files/Git/cmd:/g/Software/Java/jdk1.8.0_60/bin:/g/Software/Adk/platform-tools:/g/Software/Adk/tools:/f/softwave/nvm:/f/softwave/nodejs:/g/Software/gradle-4.9/bin:/e/Program Files/ffmpeg/bin:/c/Users/wumingli/AppData/Roaming/npm:/c/Users/wumingli/.cargo/bin:/usr/bin:/c/Users/wumingli/.cargo/bin
The text was updated successfully, but these errors were encountered:
🐛 Bug description
Wrong when run wasm-pack in msys2, like this
👟 Steps to reproduce
1.Install cargo, run this command on git-bash
2.Install wasm-pack, run this command on git-bash
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
3.Install msys2,follow steps 1 through 6
4.start msys2, install gcc
5.Change toolchain to stable-x86_64-pc-windows-gnu
6.Create a wasm project, follow Quickstart Guide
7.Build project on msys2
🌍 Your environment
system: windows 8.1
wasm-pack version: wasm-pack 0.8.1
rustc version: rustc 1.38.0 (625451e37 2019-09-23)
path: /usr/local/bin:/usr/bin:/bin:/opt/bin:/c/windows/system32:/c/windows:/c/windows/System32/Wbem:/c/windows/System32/WindowsPowerShell/v1.0:/g/Software/Microsoft VS Code/bin:/f/softwave/nvm:/f/softwave/nodejs:/f/Program Files/TortoiseSVN/bin:/g/Software/Microsoft VS Code/Code.exe/bin:/c/Program Files (x86)/GtkSharp/2.12/bin:/c/Users/wumingli/.cargo/bin:/e/Program Files/Git/cmd:/g/Software/Java/jdk1.8.0_60/bin:/g/Software/Adk/platform-tools:/g/Software/Adk/tools:/f/softwave/nvm:/f/softwave/nodejs:/g/Software/gradle-4.9/bin:/e/Program Files/ffmpeg/bin:/c/Users/wumingli/AppData/Roaming/npm:/c/Users/wumingli/.cargo/bin:/usr/bin:/c/Users/wumingli/.cargo/bin
The text was updated successfully, but these errors were encountered: