Skip to content

Commit

Permalink
build: remove redundant rerun-if-changed for compiler snapshot (#20094)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
nayeemrmn committed Aug 8, 2023
1 parent b9b0386 commit 7ce8c2a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions cli/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ce8c2a

Please sign in to comment.