From 51989aed886b85f00dd9bbf4573952efc0d88077 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Tue, 12 Feb 2019 12:44:45 -0800 Subject: [PATCH 1/4] No more wasm-bindgen-gc crate, so we don't need to publish it! --- publish.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/publish.rs b/publish.rs index 32ea5a45..2c45b074 100644 --- a/publish.rs +++ b/publish.rs @@ -20,7 +20,6 @@ use std::process::Command; const CRATES_TO_PUBLISH: &[&str] = &[ "wasm-bindgen-shared", "wasm-bindgen-backend", - "wasm-bindgen-gc", "wasm-bindgen-macro-support", "wasm-bindgen-macro", "wasm-bindgen-test-macro", From 6f00d9563f43e898e7adf20d076fefac26ef010c Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Tue, 12 Feb 2019 12:56:40 -0800 Subject: [PATCH 2/4] interpreter: handle closure descriptors with less than two parameters This might happen because of LTO. Fixes #1244 --- crates/wasm-interpreter/src/lib.rs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/crates/wasm-interpreter/src/lib.rs b/crates/wasm-interpreter/src/lib.rs index b96151a0..55a2165c 100644 --- a/crates/wasm-interpreter/src/lib.rs +++ b/crates/wasm-interpreter/src/lib.rs @@ -180,8 +180,19 @@ impl Interpreter { assert!(self.descriptor_table_idx.is_none()); let func = module.funcs.get(id); - assert_eq!(module.types.get(func.ty()).params().len(), 2); - self.call(id, module, &[0, 0]); + let params = module.types.get(func.ty()).params(); + assert!( + params.iter().all(|p| *p == walrus::ValType::I32), + "closure descriptors should only have i32 params" + ); + let num_params = params.len(); + assert!( + num_params <= 2, + "closure descriptors have 2 parameters, but might lose some parameters due to LTO" + ); + + let args = vec![0; num_params]; + self.call(id, module, &args); let descriptor_table_idx = self.descriptor_table_idx .take() From f20afebdd165073953b5362fdd30dbc7c65d55eb Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Tue, 12 Feb 2019 13:16:17 -0800 Subject: [PATCH 3/4] Don't need the old wasm-bindgen-gc crate's Cargo.toml either --- crates/gc/Cargo.toml | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 crates/gc/Cargo.toml diff --git a/crates/gc/Cargo.toml b/crates/gc/Cargo.toml deleted file mode 100644 index 0c190d75..00000000 --- a/crates/gc/Cargo.toml +++ /dev/null @@ -1,27 +0,0 @@ -[package] -name = "wasm-bindgen-gc" -version = "0.2.35" -authors = ["The wasm-bindgen Developers"] -license = "MIT/Apache-2.0" -repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/gc" -homepage = "https://rustwasm.github.io/wasm-bindgen/" -documentation = "https://docs.rs/wasm-bindgen-gc" -description = """ -Support for removing unused items from a wasm executable -""" - -[dependencies] -parity-wasm = "0.36" -log = "0.4" -rustc-demangle = "0.1.9" - -[dev-dependencies] -rayon = "1.0.2" -tempfile = "3.0.4" - -[lib] -doctest = false - -[[test]] -name = 'all' -harness = false From 802cfedcbdc6883fbb0580c17095ea24d7d746f8 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Tue, 12 Feb 2019 13:19:02 -0800 Subject: [PATCH 4/4] Bump to 0.2.36 --- CHANGELOG.md | 12 ++++++++++++ Cargo.toml | 8 ++++---- crates/backend/Cargo.toml | 4 ++-- crates/cli-support/Cargo.toml | 8 ++++---- crates/cli/Cargo.toml | 6 +++--- crates/futures/Cargo.toml | 8 ++++---- crates/js-sys/Cargo.toml | 8 ++++---- crates/macro-support/Cargo.toml | 6 +++--- crates/macro/Cargo.toml | 4 ++-- crates/shared/Cargo.toml | 2 +- crates/test-macro/Cargo.toml | 2 +- crates/test/Cargo.toml | 10 +++++----- crates/threads-xform/Cargo.toml | 2 +- crates/wasm-interpreter/Cargo.toml | 2 +- crates/web-sys/Cargo.toml | 12 ++++++------ crates/webidl/Cargo.toml | 4 ++-- examples/add/Cargo.toml | 2 +- examples/canvas/Cargo.toml | 4 ++-- examples/char/Cargo.toml | 2 +- examples/closures/Cargo.toml | 4 ++-- examples/console_log/Cargo.toml | 4 ++-- examples/dom/Cargo.toml | 2 +- examples/duck-typed-interfaces/Cargo.toml | 2 +- examples/fetch/Cargo.toml | 6 +++--- examples/guide-supported-types-examples/Cargo.toml | 2 +- examples/hello_world/Cargo.toml | 2 +- examples/import_js/Cargo.toml | 2 +- examples/julia_set/Cargo.toml | 2 +- examples/no_modules/Cargo.toml | 2 +- examples/paint/Cargo.toml | 4 ++-- examples/performance/Cargo.toml | 2 +- examples/raytrace-parallel/Cargo.toml | 6 +++--- examples/request-animation-frame/Cargo.toml | 2 +- examples/todomvc/Cargo.toml | 4 ++-- examples/wasm-in-wasm/Cargo.toml | 4 ++-- examples/wasm2js/Cargo.toml | 2 +- examples/webaudio/Cargo.toml | 2 +- examples/webgl/Cargo.toml | 4 ++-- 38 files changed, 88 insertions(+), 76 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2517ee2..9c5f77a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,18 @@ Released YYYY-MM-DD. -------------------------------------------------------------------------------- +## 0.2.36 + +Released 2019-02-12. + +### Fixed + +* Fixed a bug where using closures and LTO together caused a panic inside the + `wasm-bindgen` CLI tool. See + [#1244](https://github.com/rustwasm/wasm-bindgen/issues/1244). + +-------------------------------------------------------------------------------- + ## 0.2.35 Released 2019-02-12. diff --git a/Cargo.toml b/Cargo.toml index e4a9fa4d..19bddd16 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen" -version = "0.2.35" +version = "0.2.36" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" # Because only a single `wasm_bindgen` version can be used in a dependency @@ -39,13 +39,13 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"] xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"] [dependencies] -wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.35" } +wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.36" } serde = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -js-sys = { path = 'crates/js-sys', version = '0.3.12' } -wasm-bindgen-test = { path = 'crates/test', version = '=0.2.35' } +js-sys = { path = 'crates/js-sys', version = '0.3.13' } +wasm-bindgen-test = { path = 'crates/test', version = '=0.2.36' } serde_derive = "1.0" wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' } wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' } diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index 5e6951a0..70fa4689 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-backend" -version = "0.2.35" +version = "0.2.36" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend" @@ -20,4 +20,4 @@ log = "0.4" proc-macro2 = "0.4.8" quote = '0.6' syn = { version = '0.15', features = ['full'] } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.35" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.36" } diff --git a/crates/cli-support/Cargo.toml b/crates/cli-support/Cargo.toml index ff24848f..b63bf6db 100644 --- a/crates/cli-support/Cargo.toml +++ b/crates/cli-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-cli-support" -version = "0.2.35" +version = "0.2.36" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support" @@ -17,6 +17,6 @@ failure = "0.1.2" rustc-demangle = "0.1.13" tempfile = "3.0" walrus = "0.1" -wasm-bindgen-shared = { path = "../shared", version = '=0.2.35' } -wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.35' } -wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.35' } +wasm-bindgen-shared = { path = "../shared", version = '=0.2.36' } +wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.36' } +wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.36' } diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 2bf1f489..cd4b67a2 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-cli" -version = "0.2.35" +version = "0.2.36" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli" @@ -25,8 +25,8 @@ serde = { version = "1.0", features = ['derive'] } serde_derive = "1.0" serde_json = "1.0" walrus = "0.1" -wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.35" } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.35" } +wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.36" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.36" } [features] vendored-openssl = ['openssl/vendored'] diff --git a/crates/futures/Cargo.toml b/crates/futures/Cargo.toml index 25bd6996..4c154144 100644 --- a/crates/futures/Cargo.toml +++ b/crates/futures/Cargo.toml @@ -7,12 +7,12 @@ license = "MIT/Apache-2.0" name = "wasm-bindgen-futures" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures" readme = "./README.md" -version = "0.3.12" +version = "0.3.13" [dependencies] futures = "0.1.20" -js-sys = { path = "../js-sys", version = '0.3.12' } -wasm-bindgen = { path = "../..", version = '0.2.35' } +js-sys = { path = "../js-sys", version = '0.3.13' } +wasm-bindgen = { path = "../..", version = '0.2.36' } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -wasm-bindgen-test = { path = '../test', version = '0.2.35' } +wasm-bindgen-test = { path = '../test', version = '0.2.36' } diff --git a/crates/js-sys/Cargo.toml b/crates/js-sys/Cargo.toml index 0e5f246e..e2d7058d 100644 --- a/crates/js-sys/Cargo.toml +++ b/crates/js-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "js-sys" -version = "0.3.12" +version = "0.3.13" authors = ["The wasm-bindgen Developers"] readme = "./README.md" categories = ["wasm"] @@ -18,9 +18,9 @@ test = false doctest = false [dependencies] -wasm-bindgen = { path = "../..", version = "0.2.35" } +wasm-bindgen = { path = "../..", version = "0.2.36" } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] futures = "0.1.20" -wasm-bindgen-test = { path = '../test', version = '=0.2.35' } -wasm-bindgen-futures = { path = '../futures', version = '=0.3.12' } +wasm-bindgen-test = { path = '../test', version = '=0.2.36' } +wasm-bindgen-futures = { path = '../futures', version = '=0.3.13' } diff --git a/crates/macro-support/Cargo.toml b/crates/macro-support/Cargo.toml index c55e3719..cf094520 100644 --- a/crates/macro-support/Cargo.toml +++ b/crates/macro-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-macro-support" -version = "0.2.35" +version = "0.2.36" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support" @@ -19,5 +19,5 @@ strict-macro = [] syn = { version = '0.15.0', features = ['visit'] } quote = '0.6' proc-macro2 = "0.4.9" -wasm-bindgen-backend = { path = "../backend", version = "=0.2.35" } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.35" } +wasm-bindgen-backend = { path = "../backend", version = "=0.2.36" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.36" } diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index d0afca4a..5cf8ca37 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-macro" -version = "0.2.35" +version = "0.2.36" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro" @@ -19,5 +19,5 @@ xxx_debug_only_print_generated_code = [] strict-macro = ["wasm-bindgen-macro-support/strict-macro"] [dependencies] -wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.35" } +wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.36" } quote = "0.6" diff --git a/crates/shared/Cargo.toml b/crates/shared/Cargo.toml index 46b034c9..082655f7 100644 --- a/crates/shared/Cargo.toml +++ b/crates/shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-shared" -version = "0.2.35" +version = "0.2.36" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared" diff --git a/crates/test-macro/Cargo.toml b/crates/test-macro/Cargo.toml index 9902f10f..e6b9f1ca 100644 --- a/crates/test-macro/Cargo.toml +++ b/crates/test-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-test-macro" -version = "0.2.35" +version = "0.2.36" authors = ["The wasm-bindgen Developers"] description = "Internal testing macro for wasm-bindgen" license = "MIT/Apache-2.0" diff --git a/crates/test/Cargo.toml b/crates/test/Cargo.toml index ec6ef69f..471160e2 100644 --- a/crates/test/Cargo.toml +++ b/crates/test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-test" -version = "0.2.35" +version = "0.2.36" authors = ["The wasm-bindgen Developers"] description = "Internal testing crate for wasm-bindgen" license = "MIT/Apache-2.0" @@ -9,11 +9,11 @@ repository = "https://github.com/rustwasm/wasm-bindgen" [dependencies] console_error_panic_hook = '0.1' futures = "0.1" -js-sys = { path = '../js-sys', version = '0.3.12' } +js-sys = { path = '../js-sys', version = '0.3.13' } scoped-tls = "0.1" -wasm-bindgen = { path = '../..', version = '0.2.35' } -wasm-bindgen-futures = { path = '../futures', version = '0.3.12' } -wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.35' } +wasm-bindgen = { path = '../..', version = '0.2.36' } +wasm-bindgen-futures = { path = '../futures', version = '0.3.13' } +wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.36' } [lib] test = false diff --git a/crates/threads-xform/Cargo.toml b/crates/threads-xform/Cargo.toml index e812d5d5..6d02fafa 100644 --- a/crates/threads-xform/Cargo.toml +++ b/crates/threads-xform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-threads-xform" -version = "0.2.35" +version = "0.2.36" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform" diff --git a/crates/wasm-interpreter/Cargo.toml b/crates/wasm-interpreter/Cargo.toml index 9ec753ad..16be57fa 100644 --- a/crates/wasm-interpreter/Cargo.toml +++ b/crates/wasm-interpreter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-wasm-interpreter" -version = "0.2.35" +version = "0.2.36" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter" diff --git a/crates/web-sys/Cargo.toml b/crates/web-sys/Cargo.toml index 752ff7f1..6ece0d66 100644 --- a/crates/web-sys/Cargo.toml +++ b/crates/web-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "web-sys" -version = "0.3.12" +version = "0.3.13" authors = ["The wasm-bindgen Developers"] readme = "./README.md" homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html" @@ -21,17 +21,17 @@ test = false [build-dependencies] env_logger = "0.6.0" failure = "0.1.2" -wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.29" } +wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.30" } sourcefile = "0.1" [dependencies] -wasm-bindgen = { path = "../..", version = "0.2.35" } -js-sys = { path = '../js-sys', version = '0.3.12' } +wasm-bindgen = { path = "../..", version = "0.2.36" } +js-sys = { path = '../js-sys', version = '0.3.13' } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] futures = "0.1" -wasm-bindgen-test = { path = '../test', version = '0.2.35' } -wasm-bindgen-futures = { path = '../futures', version = '0.3.12' } +wasm-bindgen-test = { path = '../test', version = '0.2.36' } +wasm-bindgen-futures = { path = '../futures', version = '0.3.13' } # This list is generated by passing `__WASM_BINDGEN_DUMP_FEATURES=foo` when # compiling this crate which dumps the total list of features to a file called diff --git a/crates/webidl/Cargo.toml b/crates/webidl/Cargo.toml index 8ef73989..c243e8d4 100644 --- a/crates/webidl/Cargo.toml +++ b/crates/webidl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-webidl" -version = "0.2.29" +version = "0.2.30" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" categories = ["wasm"] @@ -18,5 +18,5 @@ log = "0.4.1" proc-macro2 = "0.4.8" quote = '0.6' syn = { version = '0.15', features = ['full'] } -wasm-bindgen-backend = { version = "=0.2.35", path = "../backend" } +wasm-bindgen-backend = { version = "=0.2.36", path = "../backend" } weedle = "0.8" diff --git a/examples/add/Cargo.toml b/examples/add/Cargo.toml index 15c78370..b2987bb6 100644 --- a/examples/add/Cargo.toml +++ b/examples/add/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" diff --git a/examples/canvas/Cargo.toml b/examples/canvas/Cargo.toml index a588911d..de79c511 100644 --- a/examples/canvas/Cargo.toml +++ b/examples/canvas/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -js-sys = "0.3.12" -wasm-bindgen = "0.2.35" +js-sys = "0.3.13" +wasm-bindgen = "0.2.36" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/char/Cargo.toml b/examples/char/Cargo.toml index 8c945356..18e68a3f 100644 --- a/examples/char/Cargo.toml +++ b/examples/char/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" diff --git a/examples/closures/Cargo.toml b/examples/closures/Cargo.toml index 43938042..3a143bf1 100644 --- a/examples/closures/Cargo.toml +++ b/examples/closures/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" -js-sys = "0.3.12" +wasm-bindgen = "0.2.36" +js-sys = "0.3.13" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/console_log/Cargo.toml b/examples/console_log/Cargo.toml index 63ee6b36..6314bfd6 100644 --- a/examples/console_log/Cargo.toml +++ b/examples/console_log/Cargo.toml @@ -8,5 +8,5 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" -web-sys = { version = "0.3.12", features = ['console'] } +wasm-bindgen = "0.2.36" +web-sys = { version = "0.3.13", features = ['console'] } diff --git a/examples/dom/Cargo.toml b/examples/dom/Cargo.toml index 4cfa3fc9..b98afd6c 100644 --- a/examples/dom/Cargo.toml +++ b/examples/dom/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/duck-typed-interfaces/Cargo.toml b/examples/duck-typed-interfaces/Cargo.toml index 32fe0770..271a4d2a 100644 --- a/examples/duck-typed-interfaces/Cargo.toml +++ b/examples/duck-typed-interfaces/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" diff --git a/examples/fetch/Cargo.toml b/examples/fetch/Cargo.toml index 99676b6d..c8a82c9d 100644 --- a/examples/fetch/Cargo.toml +++ b/examples/fetch/Cargo.toml @@ -9,9 +9,9 @@ crate-type = ["cdylib"] [dependencies] futures = "0.1.20" -wasm-bindgen = { version = "0.2.35", features = ["serde-serialize"] } -js-sys = "0.3.12" -wasm-bindgen-futures = "0.3.12" +wasm-bindgen = { version = "0.2.36", features = ["serde-serialize"] } +js-sys = "0.3.13" +wasm-bindgen-futures = "0.3.13" serde = { version = "1.0.80", features = ["derive"] } serde_derive = "^1.0.59" diff --git a/examples/guide-supported-types-examples/Cargo.toml b/examples/guide-supported-types-examples/Cargo.toml index 18fcd2cc..9b28fcf0 100644 --- a/examples/guide-supported-types-examples/Cargo.toml +++ b/examples/guide-supported-types-examples/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" diff --git a/examples/hello_world/Cargo.toml b/examples/hello_world/Cargo.toml index ee14e96d..451bfb6e 100644 --- a/examples/hello_world/Cargo.toml +++ b/examples/hello_world/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" diff --git a/examples/import_js/Cargo.toml b/examples/import_js/Cargo.toml index 37aa5095..a27d0a04 100644 --- a/examples/import_js/Cargo.toml +++ b/examples/import_js/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" diff --git a/examples/julia_set/Cargo.toml b/examples/julia_set/Cargo.toml index 2055f962..98a69336 100644 --- a/examples/julia_set/Cargo.toml +++ b/examples/julia_set/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/no_modules/Cargo.toml b/examples/no_modules/Cargo.toml index 2a3b51b7..4b7e95f5 100644 --- a/examples/no_modules/Cargo.toml +++ b/examples/no_modules/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/paint/Cargo.toml b/examples/paint/Cargo.toml index 338b9a9f..80ae804c 100644 --- a/examples/paint/Cargo.toml +++ b/examples/paint/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -js-sys = "0.3.12" -wasm-bindgen = "0.2.35" +js-sys = "0.3.13" +wasm-bindgen = "0.2.36" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/performance/Cargo.toml b/examples/performance/Cargo.toml index 09c82d4a..c4304125 100644 --- a/examples/performance/Cargo.toml +++ b/examples/performance/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" humantime = "1" [dependencies.web-sys] diff --git a/examples/raytrace-parallel/Cargo.toml b/examples/raytrace-parallel/Cargo.toml index e69c2706..00e6f77b 100644 --- a/examples/raytrace-parallel/Cargo.toml +++ b/examples/raytrace-parallel/Cargo.toml @@ -10,10 +10,10 @@ crate-type = ["cdylib"] [dependencies] console_error_panic_hook = "0.1" futures = "0.1" -js-sys = "0.3.12" +js-sys = "0.3.13" raytracer = { git = 'https://github.com/alexcrichton/raytracer', branch = 'update-deps' } -wasm-bindgen = { version = "0.2.35", features = ['serde-serialize'] } -wasm-bindgen-futures = "0.3.12" +wasm-bindgen = { version = "0.2.36", features = ['serde-serialize'] } +wasm-bindgen-futures = "0.3.13" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/request-animation-frame/Cargo.toml b/examples/request-animation-frame/Cargo.toml index 60f48160..360f0c14 100644 --- a/examples/request-animation-frame/Cargo.toml +++ b/examples/request-animation-frame/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/todomvc/Cargo.toml b/examples/todomvc/Cargo.toml index 5d52bdb2..de8edda4 100644 --- a/examples/todomvc/Cargo.toml +++ b/examples/todomvc/Cargo.toml @@ -11,8 +11,8 @@ crate-type = ["cdylib"] askama = "0.7.2" [dependencies] -js-sys = "0.3.12" -wasm-bindgen = "0.2.35" +js-sys = "0.3.13" +wasm-bindgen = "0.2.36" askama = "0.7.2" console_error_panic_hook = "0.1.5" diff --git a/examples/wasm-in-wasm/Cargo.toml b/examples/wasm-in-wasm/Cargo.toml index f585eab6..e373a6bd 100644 --- a/examples/wasm-in-wasm/Cargo.toml +++ b/examples/wasm-in-wasm/Cargo.toml @@ -8,5 +8,5 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" -js-sys = "0.3.12" +wasm-bindgen = "0.2.36" +js-sys = "0.3.13" diff --git a/examples/wasm2js/Cargo.toml b/examples/wasm2js/Cargo.toml index 09abc751..eea494ec 100644 --- a/examples/wasm2js/Cargo.toml +++ b/examples/wasm2js/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" diff --git a/examples/webaudio/Cargo.toml b/examples/webaudio/Cargo.toml index e29e0653..9e507e5f 100644 --- a/examples/webaudio/Cargo.toml +++ b/examples/webaudio/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.35" +wasm-bindgen = "0.2.36" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/webgl/Cargo.toml b/examples/webgl/Cargo.toml index c72cb8d6..c57bfa51 100644 --- a/examples/webgl/Cargo.toml +++ b/examples/webgl/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -js-sys = "0.3.12" -wasm-bindgen = "0.2.35" +js-sys = "0.3.13" +wasm-bindgen = "0.2.36" [dependencies.web-sys] version = "0.3.4"