Closed franziskuskiefer closed 8 months ago
The generated code will contain a static inline without an initial value, which is just as unsafe. I instead fixed it with a hardcoded definition in 04c774a which now gives (in internal/core.h
):
#define CORE_NUM__U32_8__BITS (32U)
This temporary fix will be revisited once we have support for passing a set of definitions from external crates to be extracted.
@msprotz but we still have the static
in the glue header.
Ah yes I thought I had incorporated this, sorry.
(This is now merged.)
Drop
core_num__u32_8__BITS
. It doesn't work. It needs to be#define
d in the header file manually for now.