Skip to content

Commit

Permalink
Use stable sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Luo committed May 24, 2023
1 parent a1e60d0 commit a9b86f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symbolize/gimli/xcoff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ impl<'a> Object<'a> {
}
})
.collect::<Vec<_>>();
syms.sort_unstable_by_key(|s| s.address);
syms.sort_by_key(|s| s.address);
return Some(Object { syms, file });
}

Expand Down

0 comments on commit a9b86f5

Please sign in to comment.