From ee122c5af6b8251329c213b4042a6d71ff5d9b71 Mon Sep 17 00:00:00 2001 From: Mathias Lafeldt Date: Thu, 2 May 2024 00:00:32 +0200 Subject: 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 Co-authored-by: Matt Mastracci --- cli/build.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'cli') 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![], ); } -- cgit v1.2.3