Whelp, can't crosscompile Hugo from Apple Silicon. Zig spoiled me.
3
1
14
I think you can actually use zig to do that... pass these args to go: CC="zig cc -target ..." CXX="zig c++ target ..."
3
4
71
Replying to @andy_kelley
Yep that worked.

11:29 PM · Jan 14, 2021

1
2
35
That’s magic with a capital M.
1
0
7
Go cross-compiling is limited by cgo cross-compiling if you use cgo, I never realized it also means that if you use a good C cross-compiler you can get around it. TIL.
0
0
2