mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
refactor: allow lazy main module (#28929)
implement lazy(?) mode. an unconfigured jsruntime is created if DENO_UNSTABLE_CONTROL_SOCK is present, and later passed into deno_runtime to be configured and used.
This commit is contained in:
parent
8c57929058
commit
bc1ced8260
32 changed files with 764 additions and 257 deletions
|
@ -984,6 +984,7 @@ pub async fn run(
|
|||
StorageKeyResolver::empty(),
|
||||
sys.clone(),
|
||||
lib_main_worker_options,
|
||||
Default::default(),
|
||||
);
|
||||
|
||||
// Initialize v8 once from the main thread.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue