Skip to content

Commit

Permalink
Use instant::Instant with wasm-bindgen feature (bevyengine#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
smokku authored Sep 27, 2020
1 parent 74ad1c3 commit 4081142
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ serde = { version = "1.0", features = ["derive"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { version = "0.2" }
web-sys = { version = "0.3", features = [ "Window" ] }
instant = "0.1.6"
instant = { version = "0.1", features = ["wasm-bindgen"] }
2 changes: 1 addition & 1 deletion crates/bevy_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ bevy_tasks = { path = "../bevy_tasks", version = "0.2.1" }
log = { version = "0.4", features = ["release_max_level_info"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
instant = "0.1.6"
instant = { version = "0.1", features = ["wasm-bindgen"] }
2 changes: 1 addition & 1 deletion crates/bevy_diagnostic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ uuid = { version = "0.8", features = ["v4", "serde"] }
parking_lot = "0.11.0"

[target.'cfg(target_arch = "wasm32")'.dependencies]
instant = "0.1.6"
instant = { version = "0.1", features = ["wasm-bindgen"] }

0 comments on commit 4081142

Please sign in to comment.