vrischmann / zig-sqlite

zig-sqlite is a small wrapper around sqlite's C API, making it easier to use with Zig.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build panics on aarch64

joeltg opened this issue · comments

zig-sqlite commit

eb7f58d

Zig version

0.12.0-dev.1092+68ed78775

Steps to reproduce

This switch

const ci_targets = switch (builtin.target.cpu.arch) {
panics if the CPU architecture is anything other than .x86_64, meaning the library can't be built on e.g. modern macOS systems.

Expected behaviour

The library builds on aarch64 systems.

Thanks, merged this change a little too fast.