summaryrefslogtreecommitdiff
path: root/cli/build.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2023-08-08 08:21:54 +0100
committerGitHub <noreply@github.com>2023-08-08 09:21:54 +0200
commit7ce8c2a1f1236ed747d989c0ccfd9ea756ef8f2c (patch)
treea60a214578ec5172c4f23cd4e2fb81a15e27f836 /cli/build.rs
parentb9b03869489213fa9b24d7416afe9e3e27c81ce7 (diff)
build: remove redundant rerun-if-changed for compiler snapshot (#20094)
Not sure why `40_testing.js` is there. The other two `00_typescript.js` and `99_main_compiler.js` should be covered by `files_loaded_during_snapshot` at the end. This helps with `__runtime_js_sources` wrt changing `40_testing.js`.
Diffstat (limited to 'cli/build.rs')
-rw-r--r--cli/build.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/cli/build.rs b/cli/build.rs
index 206c80d1e..679952726 100644
--- a/cli/build.rs
+++ b/cli/build.rs
@@ -224,18 +224,6 @@ mod ts {
path_dts.join(format!("lib.{name}.d.ts")).display()
);
}
- println!(
- "cargo:rerun-if-changed={}",
- cwd.join("tsc").join("00_typescript.js").display()
- );
- println!(
- "cargo:rerun-if-changed={}",
- cwd.join("tsc").join("99_main_compiler.js").display()
- );
- println!(
- "cargo:rerun-if-changed={}",
- cwd.join("js").join("40_testing.js").display()
- );
// create a copy of the vector that includes any op crate libs to be passed
// to the JavaScript compiler to build into the snapshot