mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 20:25:12 -05:00
39d9047834
This slightly degrades the performance of CJS export analysis on
subsequent runs because I changed it to no longer cache in the DENO_DIR
with this PR (denort now properly has no idea about the DENO_DIR). We'll
have to change it to embed this data in the binary and that will also
allow us to get rid of swc in denort (will do that in a follow-up PR).
(cherry picked from commit 57dd66ec3d
)
8 lines
206 B
Rust
8 lines
206 B
Rust
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
|
|
use log::debug;
|
|
|
|
pub fn deno_isolate_init() -> Option<&'static [u8]> {
|
|
debug!("Deno isolate init with snapshots.");
|
|
deno_snapshots::CLI_SNAPSHOT
|
|
}
|