-
Notifications
You must be signed in to change notification settings - Fork 128
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
extern
block uses type u128
, which is not FFI-safe
#320
Comments
It's interesting that this only happens with
I believe that disabling the check from @maspe36 what do you think? |
This is also happening with The first build I found where this was failing the rolling build #974. Current theory is that this is related to the version uptick in rosidl_generator_c from 3.3.1 to 4.1.1 as that is a major version change between builds #974 and #973. I'll keep digging |
Looks like this is cause by the new Runtime Interface Reflection feature (#215) in the rmw_implementation package. However, the original type that is ultimately by translated by bindgen(?) to a u128 is defined here in the newly stabilized in Iron, rosidl_dynamic_typesupport package. It seems like the But... Isn't that what we're doing here? Safe to say I'm a bit lost |
@maspe36 adding |
Nothing for us to do at this time, but there has been some movement upstream which will eventually trickle down to us |
u128 is already FFI safe: https://blog.rust-lang.org/2024/03/30/i128-layout-update.html |
Yup, this is now part of stable Rust as of May 2nd. To take advantage we will need to upgrade from 1.74 to 1.78. Issue for this upgrade created here #398 |
This new warning is causing CI to fail
Seems to be coming from auto-generated idl code. Investigate and hopefully resolve
The text was updated successfully, but these errors were encountered: