Open suhanyujie opened 5 years ago
rustup target add wasm32-unknown-unknown
cargo build --target wasm32-unknown-unknown
target/wasm32-unknown-unknown/debug/ ├── build ├── deps │ ├── libwasmer_plugin_example-5c131292408204bf.rmeta │ ├── libwasmer_plugin_example-b451bca680263c78.rlib │ ├── wasmer_plugin_example-5c131292408204bf.d │ └── wasmer_plugin_example-b451bca680263c78.d ├── examples ├── incremen
18~18.04.1-Ubuntu
rustc 1.34.0 (91856ed52 2019-04-10)
cargo 1.34.0 (6789d8a0a 2019-04-01)
rustup target add wasm32-unknown-unknown
andcargo build --target wasm32-unknown-unknown
.The dir of target is like this:18~18.04.1-Ubuntu
rustc 1.34.0 (91856ed52 2019-04-10)
,cargo version iscargo 1.34.0 (6789d8a0a 2019-04-01)