Skip to content

Commit 89cd883

Browse files
Trying something arbitrary
1 parent cf694c1 commit 89cd883

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

libc-test/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2744,7 +2744,7 @@ fn test_linux(target: &str) {
27442744
let x86_32 = target.contains("i686");
27452745
let x86_64 = target.contains("x86_64");
27462746
let aarch64_musl = aarch64 && musl;
2747-
let gnuabihf = target.contains("gnueabihf");
2747+
let gnueabihf = target.contains("gnueabihf");
27482748
let x86_64_gnux32 = target.contains("gnux32") && x86_64;
27492749
let riscv64 = target.contains("riscv64");
27502750
let uclibc = target.contains("uclibc");

src/unix/linux_like/linux/musl/b32/x86/mod.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ pub type wchar_t = i32;
33
pub type greg_t = i32;
44

55
s! {
6+
pub struct _libc_fpreg {
7+
pub significand: [u16; 4],
8+
pub exponent: u16,
9+
}
10+
611
pub struct stat {
712
pub st_dev: ::dev_t,
813
__st_dev_padding: ::c_int,
@@ -126,7 +131,7 @@ s! {
126131
pub cssel: ::c_ulong,
127132
pub dataoff: ::c_ulong,
128133
pub datasel: ::c_ulong,
129-
pub _st: [_fpreg; 8],
134+
pub _st: [_libc_fpreg; 8],
130135
pub status: ::c_ulong,
131136
}
132137

0 commit comments

Comments
 (0)