@@ -1538,7 +1538,7 @@ impl fmt::Debug for File { |
|
|
1538 |
1538 |
Some(PathBuf::from(OsString::from_vec(buf))) |
1539 |
1539 |
} |
1540 |
1540 |
|
1541 |
|
-#[cfg(all(target_os = "freebsd", target_arch = "x86_64"))] |
|
1541 |
+#[cfg(target_os = "freebsd")] |
1542 |
1542 |
fn get_path(fd: c_int) -> Option<PathBuf> { |
1543 |
1543 |
let info = Box::libc::kinfo\_file\::new_zeroed(); |
1544 |
1544 |
let mut info = unsafe { info.assume_init() }; |
@@ -1566,7 +1566,7 @@ impl fmt::Debug for File { |
|
|
1566 |
1566 |
#[cfg(not(any( |
1567 |
1567 |
target_os = "linux", |
1568 |
1568 |
target_os = "vxworks", |
1569 |
|
- all(target_os = "freebsd", target_arch = "x86_64"), |
|
1569 |
+ target_os = "freebsd", |
1570 |
1570 |
target_os = "netbsd", |
1571 |
1571 |
target_os = "illumos", |
1572 |
1572 |
target_os = "solaris", |