diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2020-07-16 04:53:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-16 10:53:58 +0200 |
| commit | 6c637f04bf70b631c363ef9c87303e7d7dcdc633 (patch) | |
| tree | acd13fb7b38fbb545d9db3b003430d81700adf1d /cli/build.rs | |
| parent | 98e0ed54db5bbd8befcb5afbb1d63f2b80677f51 (diff) | |
refactor(cli): Remove dead code (#6765)
Diffstat (limited to 'cli/build.rs')
| -rw-r--r-- | cli/build.rs | 10 |
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()); |
