summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorChuck Musser <cmusser@sonic.net>2020-09-16 11:45:20 -0700
committerChuck Musser <cmusser@sonic.net>2020-09-21 10:22:07 -0700
commitf5ee22db489f78b9c003ef60b7ad1b837503bc4a (patch)
treef383633c3c46ea81e93618b9a4ef87e1216fd4ab /build.rs
parent2c2440521acb5942a5f937b8d3126577cf91106a (diff)
downloadnix-f5ee22db489f78b9c003ef60b7ad1b837503bc4a.zip
DragonFlyBSD: use __errno_location now provided by the libc crate
This obviates the need for the C language shim for this variable, which this commit removes.
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/build.rs b/build.rs
deleted file mode 100644
index c527748b..00000000
--- a/build.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-#[cfg(target_os = "dragonfly")]
-fn main() {
- cc::Build::new()
- .file("src/errno_dragonfly.c")
- .compile("liberrno_dragonfly.a");
-}
-
-#[cfg(not(target_os = "dragonfly"))]
-fn main() {}