Problem with language-c on arm + Mac

Hello all,

I am trying to bind Rust’s regex library (including the header file) using c2hs, which parses C header files using language-c.

However, I encounter the following!

c2hs: C header contains errors:

/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h:445: (column 2) [ERROR]  >>> Syntax error !
  The symbol `__uint128_t' does not fit here.

I already ran into a similar issue, however, that was fixed by including stdint.h and this is not!

Is there something I should be #includeing here? Should I ask for a fix upstream in language-c?

1 Like
3 Likes