You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a lark, I tried building ion-rs and ion-c-sys on Termux. However, I ran into the following build problems:
The problem is that certain Ion C APIs use c_char pointers, and we hard coded them to i8 pointers which works on x86-64, but is u8 pointers on AArch64. We should use the c_char type alias as it is defined appropriately on the platform being built.
The text was updated successfully, but these errors were encountered:
Fixes#102
Type `c_char` is sometimes signed or unsigned depending on platform,
we had code doing explicit casts to the underlying `i8` on GCC/Clang x86-64,
but other platforms are known to be `u8` which causes build failures
(e.g. AArch64).
…103)
Fixes#102
Type `c_char` is sometimes signed or unsigned depending on platform,
we had code doing explicit casts to the underlying `i8` on GCC/Clang x86-64,
but other platforms are known to be `u8` which causes build failures
(e.g. AArch64).
On a lark, I tried building
ion-rs
andion-c-sys
on Termux. However, I ran into the following build problems:The problem is that certain Ion C APIs use
c_char
pointers, and we hard coded them toi8
pointers which works on x86-64, but isu8
pointers on AArch64. We should use thec_char
type alias as it is defined appropriately on the platform being built.The text was updated successfully, but these errors were encountered: