From 897159dc6e1b2319cf2f5f09d8d6cecc0d3175fa Mon Sep 17 00:00:00 2001 From: snek Date: Tue, 6 Aug 2024 14:52:53 +0200 Subject: feat: vm rewrite (#24596) rewrite vm implementation to increase compat. vm.Module+importModuleDynamically callbacks should be added in a followup. --- runtime/snapshot.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime') diff --git a/runtime/snapshot.rs b/runtime/snapshot.rs index da66bff5e..659356ae6 100644 --- a/runtime/snapshot.rs +++ b/runtime/snapshot.rs @@ -293,6 +293,7 @@ pub fn create_runtime_snapshot( scope, tmpl, deno_node::ContextInitMode::ForSnapshot, + std::ptr::null_mut(), ); assert_eq!(scope.add_context(ctx), deno_node::VM_CONTEXT_INDEX); })), -- cgit v1.2.3