-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jets FFI fails on MacOS #257
Comments
Could this be an endianness issue? |
My system is little endian. Which I think is the most common and the one rust-simplicity expects? |
Okay, I am failing the sanity_checks for FFI. Maybe, we can somehow make this a compile time check.
|
I am not familiar with MacOS, but it looks like, When we wrote the bindings, we assume UWORD which is uint_fast16_t maps to |
|
And as expected changing - pub type c_uint_fast16_t = usize;
+ pub type c_uint_fast16_t = u16; fixes the issue. Figuring out a programmatic way to do this might be annoying. Maybe the new std::ffi has things that can help with fast* type |
Running
cargo test
onfbe88d6f703c2f3b74f52eb3eebf60411606ed42
. This need not be prioritized, but mainly an informational issue.The text was updated successfully, but these errors were encountered: