News for hackers. Stuff that matters.
Re:'No way to prevent this,' says only package manager where... by xena on Friday May 15, 2026 @10:03PM (#48156135)
go:generate is done at dev time, not at build time.
Re:'No way to prevent this,' says only package manager where... by cookiengineer on Friday May 15, 2026 @10:05PM (#48156145)
Actually 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.

Re:'No way to prevent this,' says only package manager where... by arccy on Saturday May 16, 2026 @08:50AM (#48159801)
you only run them for your own project, not the generate directives of your dependencies though