mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-27 19:51:34 +00:00
Touch up documentation about futures (#1753)
This commit is contained in:
@ -2,14 +2,15 @@
|
||||
|
||||
### Add `wasm-bindgen-test` to Your `Cargo.toml`'s `[dev-dependencies]`
|
||||
|
||||
Make sure to replace "X.Y.Z" with the same version of `wasm-bindgen` that you
|
||||
have in the `[dependencies]` section!
|
||||
|
||||
```toml
|
||||
[dev-dependencies]
|
||||
wasm-bindgen-test = "X.Y.Z"
|
||||
wasm-bindgen-test = "0.3.0"
|
||||
```
|
||||
|
||||
Note that the `0.3.0` track of `wasm-bindgen-test` supports Rust 1.39.0+, which
|
||||
is currently the nightly channel (as of 2019-09-05). If you want support for
|
||||
older compilers use the `0.2.*` track of `wasm-bindgen-test`.
|
||||
|
||||
## Write Some Tests
|
||||
|
||||
Create a `$MY_CRATE/tests/wasm.rs` file:
|
||||
|
Reference in New Issue
Block a user