gnzlbg / ctest

Automatic testing of FFI bindings for Rust
https://docs.rs/ctest
Apache License 2.0
122 stars 29 forks source link

Add u128/i128 == __uint128_t/__int128_t #89

Open valpackett opened 4 years ago

valpackett commented 4 years ago

Necessary for FreeBSD/aarch64's fpregs


maybe some other platforms would like to use uint128_t without underscores idk.. but here uint128_t is only defined in odd headers like sdp.h, and ucontext.h uses the underscored version

gnzlbg commented 4 years ago

This isn't correct. The alignment of u128/i128 do not match int128_t on AFAICT any platform.