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! {
916916 }
917917 }
918918
919+ #[ cfg( not( target_env = "musl" ) ) ]
919920 impl PartialEq for dirent64 {
920921 fn eq( & self , other: & dirent64) -> bool {
921922 self . d_ino == other. d_ino
@@ -930,8 +931,10 @@ cfg_if! {
930931 }
931932 }
932933
934+ #[ cfg( not( target_env = "musl" ) ) ]
933935 impl Eq for dirent64 { }
934936
937+ #[ cfg( not( target_env = "musl" ) ) ]
935938 impl :: fmt:: Debug for dirent64 {
936939 fn fmt( & self , f: & mut :: fmt:: Formatter ) -> :: fmt:: Result {
937940 f. debug_struct( "dirent64" )
@@ -944,6 +947,7 @@ cfg_if! {
944947 }
945948 }
946949
950+ #[ cfg( not( target_env = "musl" ) ) ]
947951 impl :: hash:: Hash for dirent64 {
948952 fn hash<H : :: hash:: Hasher >( & self , state: & mut H ) {
949953 self . d_ino. hash( state) ;
You can’t perform that action at this time.
0 commit comments