0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -05:00

bench: fix benchmarks with extensions (#19059)

They broke in f34fcd16ea
This commit is contained in:
Bartek Iwańczuk 2023-05-09 22:53:37 +02:00 committed by GitHub
parent 3e1cc5dbf5
commit cb63db459c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 0 deletions

View file

@ -22,6 +22,7 @@ fn setup() -> Vec<Extension> {
"#, "#,
), ),
}]) }])
.esm_entry_point("ext:bench_setup/setup")
.build(), .build(),
] ]
} }

View file

@ -45,6 +45,7 @@ fn setup() -> Vec<Extension> {
.state(|state| { .state(|state| {
state.put(Permissions {}); state.put(Permissions {});
}) })
.esm_entry_point("ext:bench_setup/setup")
.build(), .build(),
] ]
} }

View file

@ -40,6 +40,7 @@ fn setup() -> Vec<Extension> {
.state(|state| { .state(|state| {
state.put(Permissions{}); state.put(Permissions{});
}) })
.esm_entry_point("ext:bench_setup/setup")
.build() .build()
] ]
} }

View file

@ -19,6 +19,7 @@ fn setup() -> Vec<Extension> {
"dict.js" "dict.js"
)), )),
}]) }])
.esm_entry_point("ext:deno_webidl_bench/setup.js")
.build(), .build(),
] ]
} }