summaryrefslogtreecommitdiff
path: root/bench_util
diff options
context:
space:
mode:
Diffstat (limited to 'bench_util')
-rw-r--r--bench_util/js_runtime.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/bench_util/js_runtime.rs b/bench_util/js_runtime.rs
index e45af2bdd..edeb74fb4 100644
--- a/bench_util/js_runtime.rs
+++ b/bench_util/js_runtime.rs
@@ -10,9 +10,9 @@ use crate::profiling::is_profiling;
pub fn create_js_runtime(setup: impl FnOnce() -> Vec<Extension>) -> JsRuntime {
JsRuntime::new(RuntimeOptions {
extensions_with_js: setup(),
- module_loader: Some(std::rc::Rc::new(
- deno_core::InternalModuleLoader::default(),
- )),
+ module_loader: Some(
+ std::rc::Rc::new(deno_core::ExtModuleLoader::default()),
+ ),
..Default::default()
})
}