summaryrefslogtreecommitdiff
path: root/runtime/worker.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-02-10 19:08:02 -0700
committerGitHub <noreply@github.com>2024-02-10 19:08:02 -0700
commit26d9b2f3174030138a13bdb60c6c76a38fa0df19 (patch)
treebe524bf55f7cb0d7e7fdd761e4cd045d5dbf6f31 /runtime/worker.rs
parentf5e46c9bf2f50d66a953fa133161fc829cecff06 (diff)
chore: deno_core bump (#22379)
- Updates to V8 12.1.285.27 https://github.com/denoland/rusty_v8/pull/1383 - Swaps Box for Rc for `source_map_getter`
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r--runtime/worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs
index 449c50e10..b6aff3c15 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -153,7 +153,7 @@ pub struct WorkerOptions {
pub format_js_error_fn: Option<Arc<FormatJsErrorFn>>,
/// Source map reference for errors.
- pub source_map_getter: Option<Box<dyn SourceMapGetter>>,
+ pub source_map_getter: Option<Rc<dyn SourceMapGetter>>,
pub maybe_inspector_server: Option<Arc<InspectorServer>>,
// If true, the worker will wait for inspector session and break on first
// statement of user code. Takes higher precedence than