diff options
| author | Matt Mastracci <matthew@mastracci.com> | 2024-02-10 19:08:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-10 19:08:02 -0700 |
| commit | 26d9b2f3174030138a13bdb60c6c76a38fa0df19 (patch) | |
| tree | be524bf55f7cb0d7e7fdd761e4cd045d5dbf6f31 /cli/module_loader.rs | |
| parent | f5e46c9bf2f50d66a953fa133161fc829cecff06 (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 'cli/module_loader.rs')
| -rw-r--r-- | cli/module_loader.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs index 4b120796b..84ced345f 100644 --- a/cli/module_loader.rs +++ b/cli/module_loader.rs @@ -443,8 +443,8 @@ impl ModuleLoaderFactory for CliModuleLoaderFactory { ) } - fn create_source_map_getter(&self) -> Option<Box<dyn SourceMapGetter>> { - Some(Box::new(CliSourceMapGetter { + fn create_source_map_getter(&self) -> Option<Rc<dyn SourceMapGetter>> { + Some(Rc::new(CliSourceMapGetter { shared: self.shared.clone(), })) } |
