mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-25 06:02:13 +00:00
Installation instructions for wasm-bindgen CLI tool (#2076)
* Installation instructions for wasm-bindgen CLI tool * Recommend wasm-pack * Justify recommendation of wasm-pack to install wasm-bindgen. Co-authored-by: Duane Johnson <duane.johnson@gmail.com>
This commit is contained in:
parent
a19c8a3fe0
commit
301a5f36eb
@ -9,6 +9,16 @@ always be listed via `wasm-bindgen --help`.
|
||||
|
||||
[wasm-pack]: https://github.com/rustwasm/wasm-pack
|
||||
|
||||
## Installation
|
||||
|
||||
The recommend way to install the `wasm-bindgen` command line tool is with the
|
||||
`wasm-pack` installer described
|
||||
[here](https://rustwasm.github.io/wasm-pack/installer/). After installing
|
||||
`wasm-pack`, run `wasm-pack build` to install the command line tool. (Although
|
||||
the command line tool is available through its own crate, `wasm-bindgen-cli`,
|
||||
`wasm-pack build` will ensure the version installed matches the version of
|
||||
`wasm-bindgen` in `Cargo.lock`.)
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user