Open jbaublitz opened 2 months ago
:wave:
Right now, bindgen depends on cexpr
to process object-like #define
directives. AFAIK, that crate is abandoned and hasn't received any updates in 3 years. There's some ongoing work on migrating bindgen to cmacro
which should handle such cases correctly.
Okay, is the work under control right now? I'm happy to help out, but if it's already in progress that's fine.
Hi @emilio, while working on the fix for the case that wasn't handled in #2779, I noticed that bindgen can't support generating bindings for
UINTMAX64
. This is largely because all integers eventually get represented as ani64
soi64::MAX
is the upper limit foru64
too. Is there any interest in a PR to support differentiating betweenu64
andi64
so thatUINTMAX64
can be represented in bindgen?