diff --git a/crates/servicepoint_binding_c/examples/lang_c/build.rs b/crates/servicepoint_binding_c/examples/lang_c/build.rs index 279439f..db090d4 100644 --- a/crates/servicepoint_binding_c/examples/lang_c/build.rs +++ b/crates/servicepoint_binding_c/examples/lang_c/build.rs @@ -1,9 +1,9 @@ const SP_INCLUDE: &str = "DEP_SERVICEPOINT_INCLUDE"; fn main() { - println!("cargo:rerun-if-changed=src/main.c"); - println!("cargo:rerun-if-changed=build.rs"); - println!("cargo:rerun-if-env-changed={SP_INCLUDE}"); + println!("cargo::rerun-if-changed=src/main.c"); + println!("cargo::rerun-if-changed=build.rs"); + println!("cargo::rerun-if-env-changed={SP_INCLUDE}"); let sp_include = std::env::var_os(SP_INCLUDE).unwrap().into_string().unwrap(); diff --git a/crates/servicepoint_binding_cs/build.rs b/crates/servicepoint_binding_cs/build.rs index 7f64dcf..0eb30f9 100644 --- a/crates/servicepoint_binding_cs/build.rs +++ b/crates/servicepoint_binding_cs/build.rs @@ -1,8 +1,8 @@ //! Build script generating the C# code needed to call methods from the `servicepoint` C library. fn main() { - println!("cargo:rerun-if-changed=../servicepoint_binding_c/src"); - println!("cargo:rerun-if-changed=build.rs"); + println!("cargo::rerun-if-changed=../servicepoint_binding_c/src"); + println!("cargo::rerun-if-changed=build.rs"); csbindgen::Builder::default() .input_extern_file("../servicepoint_binding_c/src/bit_vec.rs") .input_extern_file("../servicepoint_binding_c/src/byte_grid.rs")