searchcode
searchcode copied to clipboard
Use zig to cross compile (not an issue)
Hi,
If you need to cross compile with cgo easily i.e. using github.com/mattn/go-sqlite3, use zig.
I have been using it for 3 years, I have a build cmd here : https://gist.github.com/mgholam/a2dd8134da2752dc6992644c8068b3aa
Cheers,
Thanks. Added this to my list of things to investigate. I was vaguely aware this was possible, just never needed to look at it in depth.
That said I do need something like when using DuckDB so thats a great help.