Add js_eval/2 for wasm32

This commit is contained in:
Adrián Arroyo Calle
2023-11-20 17:45:22 +01:00
parent f32b035287
commit 36ab590c4e
8 changed files with 114 additions and 18 deletions

12
Cargo.lock generated
View File

@@ -354,16 +354,6 @@ dependencies = [
"wasm-bindgen",
]
[[package]]
name = "console_log"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be8aed40e4edbf4d3b4431ab260b63fdc40f5780a4766824329ea0f1eefe3c0f"
dependencies = [
"log",
"web-sys",
]
[[package]]
name = "core-foundation"
version = "0.9.3"
@@ -2326,7 +2316,6 @@ dependencies = [
"bytes",
"chrono",
"console_error_panic_hook",
"console_log",
"cpu-time",
"criterion",
"crossterm",
@@ -2343,6 +2332,7 @@ dependencies = [
"hostname",
"iai-callgrind",
"indexmap",
"js-sys",
"lazy_static",
"lexical",
"libc",