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:
snek 2025-04-30 21:59:20 +02:00 committed by GitHub
parent 8c57929058
commit bc1ced8260
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 764 additions and 257 deletions

View file

@ -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.