summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-11-16 14:12:12 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-11-17 11:30:17 -0800
commitc2842463e5257cba51db549351abb0c70ba3ef6f (patch)
tree8790d03306f3a7d6055240da78cafc3016e65114 /libc-test
parenta3baaf6a9562ac9a37d03807cdbc15cba5fc34fb (diff)
downloadrust-libc-c2842463e5257cba51db549351abb0c70ba3ef6f.tar.gz
Share the host's `target` directory for tests
This helps caching between runs and can help speed up turnaround time for various operations. The old android container didn't work out for some reason due to permissions so the definition has now been vendored locally to just rebuild it each time.
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index a1bd3d98c4..defcf5aa5f 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -438,6 +438,10 @@ fn main() {
"lio_listio" if freebsd => true,
"lio_listio" if musl => true,
+ // Apparently the NDK doesn't have this defined on android, but
+ // it's in a header file?
+ "endpwent" if android => true,
+
_ => false,
}
});