Skip to content

Commit f8abbda

Browse files
committed
symbol fixes no linux filter
1 parent a630a8a commit f8abbda

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

src/unix/mod.rs

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,11 @@ extern "C" {
769769
link_name = "fstat@FBSD_1.0"
770770
)]
771771
#[cfg_attr(
772-
all(target_os = "linux", target_env = "gnu", target_pointer_width = "32", not(target_arch = "x86_64")),
772+
all(
773+
target_env = "gnu",
774+
target_pointer_width = "32",
775+
not(target_arch = "x86_64")
776+
),
773777
link_name = "__fstat64_time64"
774778
)]
775779
pub fn fstat(fildes: ::c_int, buf: *mut stat) -> ::c_int;
@@ -786,7 +790,11 @@ extern "C" {
786790
link_name = "stat@FBSD_1.0"
787791
)]
788792
#[cfg_attr(
789-
all(target_os = "linux", target_env = "gnu", target_pointer_width = "32", not(target_arch = "x86_64")),
793+
all(
794+
target_env = "gnu",
795+
target_pointer_width = "32",
796+
not(target_arch = "x86_64")
797+
),
790798
link_name = "__stat64_time64"
791799
)]
792800
pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int;
@@ -1127,7 +1135,11 @@ extern "C" {
11271135
link_name = "lstat@FBSD_1.0"
11281136
)]
11291137
#[cfg_attr(
1130-
all(target_os = "linux", target_env = "gnu", target_pointer_width = "32", not(target_arch = "x86_64")),
1138+
all(
1139+
target_env = "gnu",
1140+
target_pointer_width = "32",
1141+
not(target_arch = "x86_64")
1142+
),
11311143
link_name = "__lstat64_time64"
11321144
)]
11331145
pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int;

0 commit comments

Comments
 (0)