acmenitter
Loris Cro ⚡
@croloris
Jan 14
Whelp, can't crosscompile Hugo from Apple Silicon. Zig spoiled me.
3
1
14
Andrew Kelley
@andy_kelley
Jan 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
Loris Cro ⚡
@croloris
Jan 14
Replying to
@andy_kelley
Yep that worked.
11:29 PM · Jan 14, 2021
1
2
35
Brian Ketelsen
@bketelsen
Jan 14
Replying to
@croloris
@andy_kelley
That’s magic with a capital M.
1
0
7
Roberto (Rob) Clapis 🏳️🌈⚤🇪🇺🇮🇹🇨🇭✊
@empijei
Jan 15
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