Skip to content

Commit 187091b

Browse files
committed
Auto merge of #2802 - Minoru:bugfix/user_fpregs_struct-impls, r=JohnTitor
Add `swd` field to impls for user_fpregs_struct Addresses #2748 (comment)
2 parents 13afe8a + 5e77aa0 commit 187091b

File tree

1 file changed

+2
-0
lines changed
  • src/unix/linux_like/android/b64/x86_64

1 file changed

+2
-0
lines changed

src/unix/linux_like/android/b64/x86_64/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ cfg_if! {
350350
fn fmt(&self, f: &mut ::fmt::Formatter) -> ::fmt::Result {
351351
f.debug_struct("user_fpregs_struct")
352352
.field("cwd", &self.cwd)
353+
.field("swd", &self.swd)
353354
.field("ftw", &self.ftw)
354355
.field("fop", &self.fop)
355356
.field("rip", &self.rip)
@@ -366,6 +367,7 @@ cfg_if! {
366367
impl ::hash::Hash for user_fpregs_struct {
367368
fn hash<H: ::hash::Hasher>(&self, state: &mut H) {
368369
self.cwd.hash(state);
370+
self.swd.hash(state);
369371
self.ftw.hash(state);
370372
self.fop.hash(state);
371373
self.rip.hash(state);

0 commit comments

Comments
 (0)