Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
use repr C to suppress not-ffi-safe when used with extern handler functions #94
the interrupt handler functions are extern to allow for the special calling convention.
i think in this case the warning is correctly pointing out that while the nested InterruptStackFrameValue is repr(C), the wrapper type is not. it seems incredibly unlikely that the compiler would do anything wrong here but adding repr(C) guards against it.