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:
parent
3e1cc5dbf5
commit
cb63db459c
4 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,7 @@ fn setup() -> Vec<Extension> {
|
||||||
"#,
|
"#,
|
||||||
),
|
),
|
||||||
}])
|
}])
|
||||||
|
.esm_entry_point("ext:bench_setup/setup")
|
||||||
.build(),
|
.build(),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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(),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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()
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,7 @@ fn setup() -> Vec<Extension> {
|
||||||
"dict.js"
|
"dict.js"
|
||||||
)),
|
)),
|
||||||
}])
|
}])
|
||||||
|
.esm_entry_point("ext:deno_webidl_bench/setup.js")
|
||||||
.build(),
|
.build(),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue