From 534403b1701ef9160376e856baccb58ee29d27a5 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Fri, 26 Nov 2021 00:44:44 +0900 Subject: [PATCH] wireguard-control-sys: add appropriate rerun-if-changed --- wireguard-control-sys/build.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wireguard-control-sys/build.rs b/wireguard-control-sys/build.rs index 23d1cd4..697ad87 100644 --- a/wireguard-control-sys/build.rs +++ b/wireguard-control-sys/build.rs @@ -43,6 +43,9 @@ mod linux { fn main() { linux::build_bindings(); linux::build_library(); + + println!("cargo:rerun-if-changed=c/wireguard.c"); + println!("cargo:rerun-if-changed=c/wireguard.h"); } #[cfg(not(target_os = "linux"))]