From 3dc18a4765d7a94ca1a4a7b9ede7d20a5d1bae6d Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Thu, 30 May 2024 21:55:55 +0200 Subject: [PATCH] fix cargo: output should be cargo:: --- crates/servicepoint_binding_c/examples/lang_c/build.rs | 6 +++--- crates/servicepoint_binding_cs/build.rs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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")