We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67695e1 commit f2ec9e0Copy full SHA for f2ec9e0
src/unix/linux_like/linux/mod.rs
@@ -843,6 +843,7 @@ cfg_if! {
843
}
844
845
846
+ #[cfg(not(target_env = "musl"))]
847
impl PartialEq for dirent64 {
848
fn eq(&self, other: &dirent64) -> bool {
849
self.d_ino == other.d_ino
@@ -857,8 +858,10 @@ cfg_if! {
857
858
859
860
861
862
impl Eq for dirent64 {}
863
864
865
impl ::fmt::Debug for dirent64 {
866
fn fmt(&self, f: &mut ::fmt::Formatter) -> ::fmt::Result {
867
f.debug_struct("dirent64")
@@ -871,6 +874,7 @@ cfg_if! {
871
874
872
875
873
876
877
878
impl ::hash::Hash for dirent64 {
879
fn hash<H: ::hash::Hasher>(&self, state: &mut H) {
880
self.d_ino.hash(state);
0 commit comments