Skip to content

Commit c5eaeb2

Browse files
authored
Stop watching Cargo.lock for changes (#232)
When loaded via Cargo, there's no Cargo.lock directly in this crate, so the lack of file existence causes unnecessary rebuilds every time.
1 parent e6afecb commit c5eaeb2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ fn main() -> Result<()> {
237237
}
238238

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

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

0 commit comments

Comments
 (0)