Y
Hacker News
new
|
ask
|
show
|
jobs
by
psanford
917 days ago
I cross compile mattn/go-sqlite3 a lot. It's about the easiest cgo project to cross compile since it has no external dependencies.
Just use zig as your c compiler and it all just works.
1 comments
makeworld
917 days ago
Do you have any links for using Zig for this?
link
kristoff_it
917 days ago
https://zig.news/kristoff/building-sqlite-with-cgo-for-every...
link
psanford
917 days ago
export CC="zig cc -target aarch64-linux-musl"
link
el-dude-arino
916 days ago
Well I found my side project for the day
link