ARM clibs with u8
As referenced here on ARM architectures (e.g. Raspberry Pi) the cLibs uses u8 as pointer type instead of i8.
This is a problem in flags.rs, where the implementations of as_ptr() are not platform-agnostic.
If someone tells me how this project recognize the default data pointer type, I could open a PR.
Or if there is already a flag that I should have set, please let me know, and I apologize for bothering you.
Hotfix: replace return type of each as_ptr function in lex/sr/flags.rs with c_char and define it to your platform needs.
I meet the same problem. Maybe we should determine the pointer type according the arch of the target
There are already libs to do so, the question is more or less which to use or is ther already a mechanism, but not at this place?
I'm having this same issue on t4g instances in AWS.
We've also run into this issue building ARM containers that can run on M1/M2 Mac machines. #354 does fix that for us, though then we run into issues building directly on the M1 machine. Not sure if that problem is related or not yet.