From f6b889b43219e3c9be770c8b2758bff3048ddcbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 3 Dec 2023 00:40:27 +0100 Subject: refactor: snapshotting of runtime/ and cli/ (#21430) This commit removes some of the technical debt related to snapshotting JS code: - "cli/ops/mod.rs" and "cli/build.rs" no longer define "cli" extension which was not required anymore - Cargo features for "deno_runtime" crate have been unified in "cli/Cargo.toml" - "cli/build.rs" uses "deno_runtime::snapshot::create_runtime_snapshot" API instead of copy-pasting the code - "cli/js/99_main.js" was completely removed as it's not necessary anymore Towards https://github.com/denoland/deno/issues/21137 --- cli/js/99_main.js | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 cli/js/99_main.js (limited to 'cli/js/99_main.js') diff --git a/cli/js/99_main.js b/cli/js/99_main.js deleted file mode 100644 index 1191f033f..000000000 --- a/cli/js/99_main.js +++ /dev/null @@ -1,2 +0,0 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. -import "ext:cli/runtime/js/99_main.js"; -- cgit v1.2.3