From 4e434a79293c6a5b1c54e09318455b7752d34b0a Mon Sep 17 00:00:00 2001 From: psykose Date: Tue, 5 Nov 2024 09:39:27 +0100 Subject: [PATCH] more rerun --- build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.rs b/build.rs index ec8cd7d..8844633 100644 --- a/build.rs +++ b/build.rs @@ -39,6 +39,7 @@ fn main() { "resources/audrey.gresource.xml", "audrey.gresource", ); + println!("cargo::rerun-if-changed=resources/audrey.gresource.xml"); // TODO: consider using meson to pass include paths println!("cargo::rustc-link-lib=mpv"); @@ -50,4 +51,5 @@ fn main() { bindings .write_to_file(out_path.join("mpv_ffi.rs")) .expect("could not write mpv bindings"); + println!("cargo::rerun-if-changed=src/mpv/wrapper.h"); }