summaryrefslogtreecommitdiff
path: root/cli/Cargo.toml
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2024-02-13 21:52:30 +0530
committerGitHub <noreply@github.com>2024-02-13 21:52:30 +0530
commita68eb3fcc3997fce8680f87edce46f6450e79635 (patch)
tree6839607033226fdfb2ce1be3187ef93791096507 /cli/Cargo.toml
parent492a9fbb9194a24a1f9223f797b4f4df9efde2bd (diff)
feat: denort binary for `deno compile` (#22205)
This introduces the `denort` binary - a slim version of deno without tooling. The binary is used as the default for `deno compile`. Improves `deno compile` final size by ~2.5x (141 MB -> 61 MB) on Linux x86_64.
Diffstat (limited to 'cli/Cargo.toml')
-rw-r--r--cli/Cargo.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 365f26f91..000e1b17c 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -15,6 +15,11 @@ name = "deno"
path = "main.rs"
doc = false
+[[bin]]
+name = "denort"
+path = "mainrt.rs"
+doc = false
+
[[test]]
name = "integration"
path = "integration_tests_runner.rs"