diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-02-27 08:05:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-27 08:05:57 -0700 |
commit | 47c2a63d872886ae1d0576f3cbf630151c8ff129 (patch) | |
tree | 85ba7273598467de211fab37c4cb6dcbd87fc889 /cli/tsc | |
parent | f1a691274e59d3f6a1aad19d1aec02a0ffaa51d2 (diff) |
chore: bump deno_core (#22596)
Migrations:
- snapshot code updated
- runtime stats API tweaks
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/tsc/mod.rs b/cli/tsc/mod.rs index 56755b518..e2e11e440 100644 --- a/cli/tsc/mod.rs +++ b/cli/tsc/mod.rs @@ -26,7 +26,6 @@ use deno_core::JsRuntime; use deno_core::ModuleSpecifier; use deno_core::OpState; use deno_core::RuntimeOptions; -use deno_core::Snapshot; use deno_graph::GraphKind; use deno_graph::Module; use deno_graph::ModuleGraph; @@ -140,8 +139,8 @@ fn get_asset_texts_from_new_runtime() -> Result<Vec<AssetText>, AnyError> { Ok(serde_v8::from_v8::<Vec<AssetText>>(scope, local)?) } -pub fn compiler_snapshot() -> Snapshot { - Snapshot::Static(&COMPILER_SNAPSHOT) +pub fn compiler_snapshot() -> &'static [u8] { + &COMPILER_SNAPSHOT } macro_rules! inc { |