Implement $cpu_now in wasm32

This commit is contained in:
Adrián Arroyo Calle
2023-11-28 23:11:52 +01:00
parent de5de0cfaf
commit 4c795018b4
2 changed files with 10 additions and 3 deletions

View File

@@ -98,7 +98,7 @@ console_error_panic_hook = "0.1"
wasm-bindgen = "0.2.87"
wasm-bindgen-futures = "0.4"
serde-wasm-bindgen = "0.5"
web-sys = { version = "0.3", features = ["Document", "Window", "Element"] }
web-sys = { version = "0.3", features = ["Document", "Window", "Element", "Performance"] }
js-sys = "0.3"
[target.'cfg(target_os = "wasi")'.dependencies]