Skip to content

Commit a30914b

Browse files
committed
Conditional compilation fix
1 parent a39a5f8 commit a30914b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/run-pass/libc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
#![feature(rustc_private)]
55

6+
#[allow(unused)] // necessary on macos due to conditional compilation
67
extern crate libc;
78

89
#[cfg(not(target_os = "macos"))]

0 commit comments

Comments
 (0)