Skip to content

Commit adbe903

Browse files
committed
linux-musl-s390x: Make fpreg_t a union
Previously, the definition was only changed for glibc but not for musl. Fixes: 051fa61 ("Make `fpreg_t` an union")
1 parent 1079434 commit adbe903

File tree

1 file changed

+2
-3
lines changed
  • src/unix/linux_like/linux/musl/b64

1 file changed

+2
-3
lines changed

src/unix/linux_like/linux/musl/b64/s390x.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,9 @@ s! {
8787
}
8888

8989
s_no_extra_traits! {
90-
// FIXME(union): This is actually a union.
91-
pub struct fpreg_t {
90+
pub fpreg_t {
9291
pub d: c_double,
93-
// f: c_float,
92+
pub f: c_float,
9493
}
9594
}
9695

0 commit comments

Comments
 (0)