Skip to content

Fix compilation on aarch64 Linux - #8

Open
ankane wants to merge 1 commit into
pangenome:mainfrom
ankane:aarch64-linux
Open

Fix compilation on aarch64 Linux#8
ankane wants to merge 1 commit into
pangenome:mainfrom
ankane:aarch64-linux

Conversation

@ankane

@ankane ankane commented Apr 30, 2026

Copy link
Copy Markdown

Changes i8 to c_char to match the bindings (as c_char is u8 on aarch64 Linux).

Otherwise, compilation fails with many instances of:

error[E0308]: mismatched types
   --> src/file.rs:193:17
    |
191 |             ffi::oneWriteLine(
    |             ----------------- arguments to this function are incorrect
192 |                 self.ptr,
193 |                 line_type as i8,
    |                 ^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |

This currently prevents building impg on aarch64 Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant