d4-format icon indicating copy to clipboard operation
d4-format copied to clipboard

Infer type in bamfile

Open dotinspace opened this issue 2 years ago • 1 comments

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.

dotinspace avatar Oct 11 '22 07:10 dotinspace

This works on my M1 and appears to close #58

ggozad avatar Oct 11 '22 07:10 ggozad