Skip to content

Commit

Permalink
upgrade wasm-bindgen to 0.2.51
Browse files Browse the repository at this point in the history
  • Loading branch information
ctaggart committed Oct 11, 2019
1 parent 4f31997 commit e8a7fb4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ cache:
- $HOME/.local/share/cargo-web/emscripten

rust:
- 1.35.0 # min supported
- stable
# - 1.35.0 # min supported
# - stable
- beta
- nightly

Expand All @@ -33,7 +33,7 @@ install:
- nvm install 9
- rustup component add rustfmt
- rustup target add wasm32-unknown-unknown
- cargo install --force --version 0.2.42 -- wasm-bindgen-cli
- cargo install --force --version 0.2.51 -- wasm-bindgen-cli
- curl --retry 5 -LO https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- ./ci/install_cargo_web.sh
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ toml = { version = "0.4", optional = true }
yew-macro = { version = "0.10.0", path = "crates/macro" }

[target.'cfg(all(target_arch = "wasm32", not(cargo_web)))'.dependencies]
wasm-bindgen = "=0.2.42"
wasm-bindgen = "0.2.51"

[dev-dependencies]
serde_derive = "1"
trybuild = "1.0"
rustversion = "0.1"

[target.'cfg(all(target_arch = "wasm32", not(cargo_web)))'.dev-dependencies]
wasm-bindgen-test = "0.2"
wasm-bindgen-test = "0.3.1"

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion examples/js_callback/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ yew = { path = "../.." }
stdweb = "^0.4.20"

[target.'cfg(all(target_arch = "wasm32", not(cargo_web)))'.dependencies]
wasm-bindgen = "=0.2.42"
wasm-bindgen = "0.2.51"

0 comments on commit e8a7fb4

Please sign in to comment.