Skip to content

Commit

Permalink
Auto merge of #2802 - Minoru:bugfix/user_fpregs_struct-impls, r=JohnT…
Browse files Browse the repository at this point in the history
…itor

Add `swd` field to impls for user_fpregs_struct

Addresses #2748 (comment)
  • Loading branch information
bors committed May 28, 2022
2 parents 13afe8a + 5e77aa0 commit 187091b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/linux_like/android/b64/x86_64/mod.rs
Expand Up @@ -350,6 +350,7 @@ cfg_if! {
fn fmt(&self, f: &mut ::fmt::Formatter) -> ::fmt::Result {
f.debug_struct("user_fpregs_struct")
.field("cwd", &self.cwd)
.field("swd", &self.swd)
.field("ftw", &self.ftw)
.field("fop", &self.fop)
.field("rip", &self.rip)
Expand All @@ -366,6 +367,7 @@ cfg_if! {
impl ::hash::Hash for user_fpregs_struct {
fn hash<H: ::hash::Hasher>(&self, state: &mut H) {
self.cwd.hash(state);
self.swd.hash(state);
self.ftw.hash(state);
self.fop.hash(state);
self.rip.hash(state);
Expand Down

0 comments on commit 187091b

Please sign in to comment.