diff options
author | Mathias Lafeldt <mathias.lafeldt@gmail.com> | 2024-05-02 00:00:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 22:00:32 +0000 |
commit | ee122c5af6b8251329c213b4042a6d71ff5d9b71 (patch) | |
tree | ffd463f955d1daa09e5d273a2462f1301b8b789c /cli/build.rs | |
parent | 505130d813eeb6381bf12ad92a3e9d688ed518a3 (diff) |
feat(runtime): allow adding custom extensions to snapshot (#23569)
This makes `create_runtime_snapshot` more useful for embedders who add
their own extension(s) to the runtime in build scripts.
---------
Signed-off-by: Matt Mastracci <matthew@mastracci.com>
Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/build.rs b/cli/build.rs index 81bd4edda..3b4bfa8a8 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -346,6 +346,7 @@ fn create_cli_snapshot(snapshot_path: PathBuf) { deno_runtime::snapshot::create_runtime_snapshot( snapshot_path, snapshot_options, + vec![], ); } |