]> git.lizzy.rs Git - rust.git/commitdiff
Conditional compilation fix
authorDavid Cook <divergentdave@gmail.com>
Wed, 29 Jan 2020 02:39:06 +0000 (20:39 -0600)
committerDavid Cook <divergentdave@gmail.com>
Wed, 29 Jan 2020 02:39:06 +0000 (20:39 -0600)
tests/run-pass/libc.rs

index eb23cd16b757cd38a44dbf0c8e0846d7d89527b8..5b7b37db327be78db0208d0ccf9d3df34464f27e 100644 (file)
@@ -3,6 +3,7 @@
 
 #![feature(rustc_private)]
 
+#[allow(unused)] // necessary on macos due to conditional compilation
 extern crate libc;
 
 #[cfg(not(target_os = "macos"))]