Skip to content

Commit

Permalink
Trying something arbitrary
Browse files Browse the repository at this point in the history
  • Loading branch information
victorpaleologue committed Oct 3, 2022
1 parent cf694c1 commit 89cd883
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libc-test/build.rs
Expand Up @@ -2744,7 +2744,7 @@ fn test_linux(target: &str) {
let x86_32 = target.contains("i686");
let x86_64 = target.contains("x86_64");
let aarch64_musl = aarch64 && musl;
let gnuabihf = target.contains("gnueabihf");
let gnueabihf = target.contains("gnueabihf");
let x86_64_gnux32 = target.contains("gnux32") && x86_64;
let riscv64 = target.contains("riscv64");
let uclibc = target.contains("uclibc");
Expand Down
7 changes: 6 additions & 1 deletion src/unix/linux_like/linux/musl/b32/x86/mod.rs
Expand Up @@ -3,6 +3,11 @@ pub type wchar_t = i32;
pub type greg_t = i32;

s! {
pub struct _libc_fpreg {
pub significand: [u16; 4],
pub exponent: u16,
}

pub struct stat {
pub st_dev: ::dev_t,
__st_dev_padding: ::c_int,
Expand Down Expand Up @@ -126,7 +131,7 @@ s! {
pub cssel: ::c_ulong,
pub dataoff: ::c_ulong,
pub datasel: ::c_ulong,
pub _st: [_fpreg; 8],
pub _st: [_libc_fpreg; 8],
pub status: ::c_ulong,
}

Expand Down

0 comments on commit 89cd883

Please sign in to comment.