diff options
author | Chuck Musser <cmusser@sonic.net> | 2020-09-16 11:45:20 -0700 |
---|---|---|
committer | Chuck Musser <cmusser@sonic.net> | 2020-09-21 10:22:07 -0700 |
commit | f5ee22db489f78b9c003ef60b7ad1b837503bc4a (patch) | |
tree | f383633c3c46ea81e93618b9a4ef87e1216fd4ab /build.rs | |
parent | 2c2440521acb5942a5f937b8d3126577cf91106a (diff) | |
download | nix-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.rs | 9 |
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() {} |