4 ms·
go:generate is done at dev time, not at build time.
by xena 5mo ago
go:generate is done at dev time, not at build time.
- cookiengineer 5mo agoActually bindings are usually generated like that, at build time (though with a build cache that nobody knows how it corrupts all the time). Examples that come to mind: webview/webview, webkit, cilium/ebpf and most other CGo projects that I have seen.
- arccy 5mo agoyou only run them for your own project, not the generate directives of your dependencies though