1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

fix(ext/url): add deno_console dependency for bench (#21266)

Should fix the benchmarks.

Signed-off-by: Kenta Moriuchi <moriken@kimamass.com>
This commit is contained in:
Kenta Moriuchi 2023-11-20 22:01:30 +09:00 committed by GitHub
parent 86450f4e59
commit 498bdc1e2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

1
Cargo.lock generated
View file

@ -1645,6 +1645,7 @@ name = "deno_url"
version = "0.124.0" version = "0.124.0"
dependencies = [ dependencies = [
"deno_bench_util", "deno_bench_util",
"deno_console",
"deno_core", "deno_core",
"deno_webidl", "deno_webidl",
"serde", "serde",

View file

@ -20,6 +20,7 @@ urlpattern = "0.2.0"
[dev-dependencies] [dev-dependencies]
deno_bench_util.workspace = true deno_bench_util.workspace = true
deno_console.workspace = true
deno_webidl.workspace = true deno_webidl.workspace = true
[[bench]] [[bench]]

View file

@ -12,6 +12,7 @@ use deno_core::ExtensionFileSourceCode;
fn setup() -> Vec<Extension> { fn setup() -> Vec<Extension> {
vec![ vec![
deno_webidl::deno_webidl::init_ops_and_esm(), deno_webidl::deno_webidl::init_ops_and_esm(),
deno_console::deno_console::init_ops_and_esm(),
deno_url::deno_url::init_ops_and_esm(), deno_url::deno_url::init_ops_and_esm(),
Extension { Extension {
name: "bench_setup", name: "bench_setup",