38 / d4-format

The D4 Quantitative Data Format
MIT License
150 stars 20 forks source link

Infer type in bamfile #66

Open dotinspace opened 1 year ago

dotinspace commented 1 year ago

There is an issue with libc on aarch64, in that it has c_char aliased to u8, whereas on amd64 libc uses i8 for c_char. The result of this is that pyd4 does not build correctly in docker containers on aarch64, verified on both Apple M1s and RPi4.

A solution to this appears be to let the compiler infer types in bamfile.rs L102, instead of specifying i8/u8.

ggozad commented 1 year ago

This works on my M1 and appears to close #58