From 6c637f04bf70b631c363ef9c87303e7d7dcdc633 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 16 Jul 2020 04:53:58 -0400 Subject: refactor(cli): Remove dead code (#6765) --- cli/build.rs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'cli/build.rs') 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()); -- cgit v1.2.3