diff options
| author | snek <snek@deno.com> | 2024-08-06 14:52:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-06 12:52:53 +0000 |
| commit | 897159dc6e1b2319cf2f5f09d8d6cecc0d3175fa (patch) | |
| tree | cfe4a043d1fc102a4e051b99c7fcbef7b79bbb91 /runtime | |
| parent | c0e9512b39a4ed3713d1fd9b28469d0edf68f578 (diff) | |
feat: vm rewrite (#24596)
rewrite vm implementation to increase compat.
vm.Module+importModuleDynamically callbacks should be added in a
followup.
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/snapshot.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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); })), |
