From 638c447a9ba343c49281d26a99ead24fb4eec683 Mon Sep 17 00:00:00 2001 From: jean-airoldie <25088801+jean-airoldie@users.noreply.github.com> Date: Fri, 5 Jul 2024 05:08:03 -0400 Subject: [PATCH] Turn off all warnings when testing for strlcpy --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index e63a0ee..148043a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -73,6 +73,9 @@ mod glibc { cc::Build::new() .warnings(false) + .extra_warnings(false) + .cargo_warning(false) + .cargo_metadata(false) .get_compiler() .to_command() .arg(src)