diff options
| author | Marcel Hellwig <git@cookiesoft.de> | 2019-05-13 09:13:07 +0200 | 
|---|---|---|
| committer | Marcel Hellwig <git@cookiesoft.de> | 2019-05-13 11:09:06 +0200 | 
| commit | cc314b066a2f1d688ec2f5dec1fa5cb01ca1ebb0 (patch) | |
| tree | a8b5e6df9bcbf3c265928fdffd84aa63a31ac8c1 /src/libstd/sys/unix/fs.rs | |
| parent | fe5f42cdb88d8ce31f746130099321e7c95e1ef0 (diff) | |
| download | rust-cc314b066a2f1d688ec2f5dec1fa5cb01ca1ebb0.tar.gz rust-cc314b066a2f1d688ec2f5dec1fa5cb01ca1ebb0.zip | |
Remove bitrig support from rust
Diffstat (limited to 'src/libstd/sys/unix/fs.rs')
| -rw-r--r-- | src/libstd/sys/unix/fs.rs | 10 | 
1 files changed, 3 insertions, 7 deletions
| diff --git a/src/libstd/sys/unix/fs.rs b/src/libstd/sys/unix/fs.rs index 22c05a72a91..cc1f0790d43 100644 --- a/src/libstd/sys/unix/fs.rs +++ b/src/libstd/sys/unix/fs.rs @@ -147,8 +147,7 @@ impl FileAttr { })) } - #[cfg(any(target_os = "bitrig", - target_os = "freebsd", + #[cfg(any(target_os = "freebsd", target_os = "openbsd", target_os = "macos", target_os = "ios"))] @@ -159,8 +158,7 @@ impl FileAttr { })) } - #[cfg(not(any(target_os = "bitrig", - target_os = "freebsd", + #[cfg(not(any(target_os = "freebsd", target_os = "openbsd", target_os = "macos", target_os = "ios")))] @@ -355,7 +353,6 @@ impl DirEntry { #[cfg(any(target_os = "freebsd", target_os = "openbsd", - target_os = "bitrig", target_os = "netbsd", target_os = "dragonfly"))] pub fn ino(&self) -> u64 { @@ -367,8 +364,7 @@ impl DirEntry { target_os = "netbsd", target_os = "openbsd", target_os = "freebsd", - target_os = "dragonfly", - target_os = "bitrig"))] + target_os = "dragonfly"))] fn name_bytes(&self) -> &[u8] { use crate::slice; unsafe { | 
