about summary refs log tree commit diff
path: root/src/libstd/sys/unix/os.rs
diff options
context:
space:
mode:
authorMarcel Hellwig <git@cookiesoft.de>2019-05-13 09:13:07 +0200
committerMarcel Hellwig <git@cookiesoft.de>2019-05-13 11:09:06 +0200
commitcc314b066a2f1d688ec2f5dec1fa5cb01ca1ebb0 (patch)
treea8b5e6df9bcbf3c265928fdffd84aa63a31ac8c1 /src/libstd/sys/unix/os.rs
parentfe5f42cdb88d8ce31f746130099321e7c95e1ef0 (diff)
downloadrust-cc314b066a2f1d688ec2f5dec1fa5cb01ca1ebb0.tar.gz
rust-cc314b066a2f1d688ec2f5dec1fa5cb01ca1ebb0.zip
Remove bitrig support from rust
Diffstat (limited to 'src/libstd/sys/unix/os.rs')
-rw-r--r--src/libstd/sys/unix/os.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libstd/sys/unix/os.rs b/src/libstd/sys/unix/os.rs
index 726b17969b7..dad19eabf7d 100644
--- a/src/libstd/sys/unix/os.rs
+++ b/src/libstd/sys/unix/os.rs
@@ -33,8 +33,7 @@ extern {
                    target_os = "fuchsia",
                    target_os = "l4re"),
                link_name = "__errno_location")]
-    #[cfg_attr(any(target_os = "bitrig",
-                   target_os = "netbsd",
+    #[cfg_attr(any(target_os = "netbsd",
                    target_os = "openbsd",
                    target_os = "android",
                    target_os = "hermit",
@@ -257,7 +256,7 @@ pub fn current_exe() -> io::Result<PathBuf> {
     sysctl().or_else(|_| procfs())
 }
 
-#[cfg(any(target_os = "bitrig", target_os = "openbsd"))]
+#[cfg(target_os = "openbsd")]
 pub fn current_exe() -> io::Result<PathBuf> {
     unsafe {
         let mut mib = [libc::CTL_KERN,