From f8746c749799778be6edf4121be59922f07f0259 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 9 Aug 2018 20:03:26 +1000 Subject: [PATCH] Remove warning about unused param in non-Windows handle_binary This is a no-op, and purely a stub. --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 30b9c59..bad8b04 100644 --- a/build.rs +++ b/build.rs @@ -71,7 +71,7 @@ fn handle_binary(config: &BaseAttributes) { } #[cfg(not(windows))] -fn handle_binary(config: &BaseAttributes) {} +fn handle_binary(_config: &BaseAttributes) {} fn main() { let output_dir = PathBuf::from(env::var("OUT_DIR").unwrap());