Skip to content

Commit

Permalink
Stop watching Cargo.lock for changes (#232)
Browse files Browse the repository at this point in the history
When loaded via Cargo, there's no Cargo.lock directly in this crate, so
the lack of file existence causes unnecessary rebuilds every time.
  • Loading branch information
rmccue authored Feb 24, 2023
1 parent e6afecb commit c5eaeb2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ fn main() -> Result<()> {
}

println!("cargo:rerun-if-changed=build.rs");
println!("cargo:rerun-if-changed=Cargo.lock");

// docs.rs runners only have PHP 7.4 - use pre-generated bindings
if env::var("DOCS_RS").is_ok() {
Expand Down

0 comments on commit c5eaeb2

Please sign in to comment.