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 @@ -843,6 +843,7 @@ cfg_if! {
843
843
}
844
844
}
845
845
846
+ #[ cfg( not( target_env = "musl" ) ) ]
846
847
impl PartialEq for dirent64 {
847
848
fn eq( & self , other: & dirent64) -> bool {
848
849
self . d_ino == other. d_ino
@@ -857,8 +858,10 @@ cfg_if! {
857
858
}
858
859
}
859
860
861
+ #[ cfg( not( target_env = "musl" ) ) ]
860
862
impl Eq for dirent64 { }
861
863
864
+ #[ cfg( not( target_env = "musl" ) ) ]
862
865
impl :: fmt:: Debug for dirent64 {
863
866
fn fmt( & self , f: & mut :: fmt:: Formatter ) -> :: fmt:: Result {
864
867
f. debug_struct( "dirent64" )
@@ -871,6 +874,7 @@ cfg_if! {
871
874
}
872
875
}
873
876
877
+ #[ cfg( not( target_env = "musl" ) ) ]
874
878
impl :: hash:: Hash for dirent64 {
875
879
fn hash<H : :: hash:: Hasher >( & self , state: & mut H ) {
876
880
self . d_ino. hash( state) ;
You can’t perform that action at this time.
0 commit comments