From a30914bcddeca1ae58e578a0aa1d49580c0cfcee Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 28 Jan 2020 20:39:06 -0600 Subject: [PATCH] Conditional compilation fix --- tests/run-pass/libc.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/run-pass/libc.rs b/tests/run-pass/libc.rs index eb23cd16b757..5b7b37db327b 100644 --- a/tests/run-pass/libc.rs +++ b/tests/run-pass/libc.rs @@ -3,6 +3,7 @@ #![feature(rustc_private)] +#[allow(unused)] // necessary on macos due to conditional compilation extern crate libc; #[cfg(not(target_os = "macos"))]