about summary refs log tree commit diff
path: root/src/tools/compiletest
diff options
context:
space:
mode:
authorTatsuyuki Ishi <ishitatsuyuki@gmail.com>2017-08-23 09:57:05 +0900
committerTatsuyuki Ishi <ishitatsuyuki@gmail.com>2017-08-27 19:02:24 +0900
commit7a8d38e522b77cb21d38919e6d9ce1b8480cfca0 (patch)
tree003077953992976f323e4695e49319f23e19b4db /src/tools/compiletest
parent7f054990b6bb19e15750a4442a24941cc157acb6 (diff)
downloadrust-7a8d38e522b77cb21d38919e6d9ce1b8480cfca0.tar.gz
rust-7a8d38e522b77cb21d38919e6d9ce1b8480cfca0.zip
Additional libc cleanup
Diffstat (limited to 'src/tools/compiletest')
-rw-r--r--src/tools/compiletest/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs
index 20239e97478..15216f52d91 100644
--- a/src/tools/compiletest/src/main.rs
+++ b/src/tools/compiletest/src/main.rs
@@ -14,6 +14,7 @@
 
 #![deny(warnings)]
 
+#[cfg(any(target_os = "macos", target_os = "ios"))]
 extern crate libc;
 extern crate test;
 extern crate getopts;