diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-02-04 17:03:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-04 17:03:14 -0700 |
commit | 56f58a047e3c1cc27ff55988f25173cc18ef6aeb (patch) | |
tree | 2a7a288c385d54d1384c00c20cdbc168a046218f /runtime/shared.rs | |
parent | 0f7f98795129f3f6bef51d08da9accca5e9ca9cc (diff) |
chore: bump deno core (#22243)
Migrations:
- Error registration no longer required for Interrupted or BadResource
(these are core exception)
- `include_js_files!`/`ExtensionFileSource` changes
Diffstat (limited to 'runtime/shared.rs')
-rw-r--r-- | runtime/shared.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/runtime/shared.rs b/runtime/shared.rs index 1f24fec0b..35712dfb3 100644 --- a/runtime/shared.rs +++ b/runtime/shared.rs @@ -56,12 +56,7 @@ extension!(runtime, customizer = |ext: &mut Extension| { #[cfg(not(feature = "exclude_runtime_main_js"))] { - ext.esm_files.to_mut().push(ExtensionFileSource { - specifier: "ext:runtime_main/js/99_main.js", - code: ExtensionFileSourceCode::IncludedInBinary( - include_str!("./js/99_main.js"), - ), - }); + ext.esm_files.to_mut().push(ExtensionFileSource::new("ext:runtime_main/js/99_main.js", include_str!("./js/99_main.js"))); ext.esm_entry_point = Some("ext:runtime_main/js/99_main.js"); } } |