3 ms·
The backends (FLTK/Gocoa) are using CGo, which currently does not support cross-compiling as far as I know. So you still need to have a build pipeline with mul
by da_rob 2y ago
The backends (FLTK/Gocoa) are using CGo, which currently does not support cross-compiling as far as I know.
So you still need to have a build pipeline with multiple operating systems, signing/notarization tools, etc. :(
- scosman 2y agoToo bad. I swear half the electron apps use it for ease of Xplatform build. I’d love something like this for giving my CLIs UIs.
- mappu 2y agoYou can cross-compile Cgo, you "just" need a C compiler and linker that works for the target platform. osxcross, xgo have some or maybe you can set CC=zig cc. For macOS you need signing/notarization tools either when building natively or when cross-compiling, it's not any different. `rcodesign` has made this process much easier in recent years.
- apitman 2y ago+1 for `CC=zig cc`. Feels like magic