Add support for Instant for wasm32.
This commit is contained in:
@@ -63,3 +63,6 @@ version = "0.3.2"
|
||||
default-features = false
|
||||
features = ["compile-time-rng"]
|
||||
optional = true
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
instant= "0.1.4" # WASM implementation of std::time::Instant
|
||||
|
Reference in New Issue
Block a user