Merge pull request #76 from sendilkumarn/update-wasm-bindgen

update to wasm bindgen 0.2.0
master
ashley williams 7 years ago committed by GitHub
commit 40c98867b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      README.md
  2. 2
      tests/fixtures/js-hello-world/Cargo.toml
  3. 2
      tests/fixtures/js-hello-world/src/lib.rs
  4. 2
      tests/fixtures/no-readme/Cargo.toml
  5. 2
      tests/fixtures/no-readme/src/lib.rs
  6. 2
      tests/fixtures/scopes/Cargo.toml
  7. 2
      tests/fixtures/scopes/src/lib.rs

@ -59,12 +59,12 @@ if you want to publish packages, you'll also need an account on [npm] and have
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.1"
wasm-bindgen = "0.2"
```
3. add this to the top of your `src/lib.rs`:
```rust
#![feature(proc_macro)]
#![feature(proc_macro, wasm_import_module, wasm_custom_section)]
extern crate wasm_bindgen;

@ -10,4 +10,4 @@ repository = "https://github.com/ashleygwilliams/wasm-pack"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.1.0"
wasm-bindgen = "0.2.0"

@ -1,4 +1,4 @@
#![feature(proc_macro)]
#![feature(proc_macro, wasm_import_module, wasm_custom_section)]
extern crate wasm_bindgen;

@ -10,4 +10,4 @@ repository = "https://github.com/ashleygwilliams/wasm-pack"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.1.0"
wasm-bindgen = "0.2.0"

@ -1,4 +1,4 @@
#![feature(proc_macro)]
#![feature(proc_macro, wasm_import_module, wasm_custom_section)]
extern crate wasm_bindgen;

@ -10,4 +10,4 @@ repository = "https://github.com/ashleygwilliams/wasm-pack"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.1.0"
wasm-bindgen = "0.2.0"

@ -1,4 +1,4 @@
#![feature(proc_macro)]
#![feature(proc_macro, wasm_import_module, wasm_custom_section)]
extern crate wasm_bindgen;

Loading…
Cancel
Save