From 893f814e7fab6b8be449f1234e52f504d57770d1 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Thu, 5 Feb 2026 15:52:19 -0500 Subject: [PATCH] build: add rerun-if-changed for tldr.zip to improve build warnings --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index 3c4da1edbba..1d12f77801b 100644 --- a/build.rs +++ b/build.rs @@ -21,6 +21,7 @@ pub fn main() { // Check for tldr.zip when building uudoc to warn users once at build time // instead of repeatedly at runtime for each utility + println!("cargo:rerun-if-changed=docs/tldr.zip"); if env::var("CARGO_FEATURE_UUDOC").is_ok() && !Path::new("docs/tldr.zip").exists() { println!( "cargo:warning=No tldr archive found, so the documentation will not include examples."