File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -916,6 +916,7 @@ cfg_if! {
916
916
}
917
917
}
918
918
919
+ #[ cfg( not( target_env = "musl" ) ) ]
919
920
impl PartialEq for dirent64 {
920
921
fn eq( & self , other: & dirent64) -> bool {
921
922
self . d_ino == other. d_ino
@@ -930,8 +931,10 @@ cfg_if! {
930
931
}
931
932
}
932
933
934
+ #[ cfg( not( target_env = "musl" ) ) ]
933
935
impl Eq for dirent64 { }
934
936
937
+ #[ cfg( not( target_env = "musl" ) ) ]
935
938
impl :: fmt:: Debug for dirent64 {
936
939
fn fmt( & self , f: & mut :: fmt:: Formatter ) -> :: fmt:: Result {
937
940
f. debug_struct( "dirent64" )
@@ -944,6 +947,7 @@ cfg_if! {
944
947
}
945
948
}
946
949
950
+ #[ cfg( not( target_env = "musl" ) ) ]
947
951
impl :: hash:: Hash for dirent64 {
948
952
fn hash<H : :: hash:: Hasher >( & self , state: & mut H ) {
949
953
self . d_ino. hash( state) ;
You can’t perform that action at this time.
0 commit comments