diff options
author | Bryant Mairs <bryantmairs@google.com> | 2017-12-03 13:26:52 -0800 |
---|---|---|
committer | Bryant Mairs <bryantmairs@google.com> | 2017-12-05 07:48:38 -0800 |
commit | 4013fa48487ea9ae917932488858b95d626c611e (patch) | |
tree | 51378718336fb37da7564073e312f12af7516cea /nix-test/build.rs | |
parent | 28d82265aefdcf1cc3ef6effcb96dd5607a3ec94 (diff) | |
download | nix-4013fa48487ea9ae917932488858b95d626c611e.zip |
Remove nix-test subcrate
This was doing testing for errno constants and a few other
types that is no longer necessary now that these types are
all tested within the libc project itself.
Diffstat (limited to 'nix-test/build.rs')
-rw-r--r-- | nix-test/build.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/nix-test/build.rs b/nix-test/build.rs deleted file mode 100644 index 5d1b1bba..00000000 --- a/nix-test/build.rs +++ /dev/null @@ -1,21 +0,0 @@ -extern crate gcc; - -use std::env; - -pub fn main() { - let target = env::var("TARGET").unwrap(); - - let os = if target.contains("linux") { - "LINUX" - } else if target.contains("darwin") { - "DARWIN" - } else { - "UNKNOWN" - }; - - gcc::Build::new() - .file("src/const.c") - .file("src/sizes.c") - .define(os, None) - .compile("libnixtest.a"); -} |