summaryrefslogtreecommitdiff
path: root/cli/build.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-07-16 04:53:58 -0400
committerGitHub <noreply@github.com>2020-07-16 10:53:58 +0200
commit6c637f04bf70b631c363ef9c87303e7d7dcdc633 (patch)
treeacd13fb7b38fbb545d9db3b003430d81700adf1d /cli/build.rs
parent98e0ed54db5bbd8befcb5afbb1d63f2b80677f51 (diff)
refactor(cli): Remove dead code (#6765)
Diffstat (limited to 'cli/build.rs')
-rw-r--r--cli/build.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/cli/build.rs b/cli/build.rs
index 5d343c5f3..695c4f86f 100644
--- a/cli/build.rs
+++ b/cli/build.rs
@@ -32,16 +32,6 @@ fn main() {
let extern_crate_modules = include_crate_modules![deno_core];
- // The generation of snapshots is slow and often unnecessary. Until we figure
- // out how to speed it up, or avoid it when unnecessary, this env var provides
- // an escape hatch for the impatient hacker in need of faster incremental
- // builds.
- // USE WITH EXTREME CAUTION
- if env::var_os("NO_BUILD_SNAPSHOTS").is_some() {
- println!("NO_BUILD_SNAPSHOTS is set, skipping snapshot building.");
- return;
- }
-
let c = PathBuf::from(env::var_os("CARGO_MANIFEST_DIR").unwrap());
let o = PathBuf::from(env::var_os("OUT_DIR").unwrap());