Hi Katherine, On Wed, Aug 23, 2023 at 10:12 AM, Katherine Cox-Buday wrote:
> On 8/22/23 8:24 AM, Felix Lechner via Development of GNU Guix and the > GNU System distribution. wrote: >> Hi Attila, >> >> On Tue, Aug 22, 2023 at 6:14 AM Attila Lendvai <att...@lendvai.name> wrote: >>> >>> currently the go build system in guix does not reuse build artifacts >> >> Can Golang reuse build artifacts? > > I don't think it's recommended right now. See discussion here: > > - <https://github.com/golang/go/issues/47788#issuecomment-1019562695> > - <https://github.com/golang/go/issues/47788#issuecomment-1258773167> > > Summary: > > It sounds like due to the way the compiler can optimize code (e.g. > inlining), `buildmode=shared` is not recommended, but in the future they > are looking at allowing linking against a single shared library. I've not been following in detail this discussion, but where do we currently stand? Is the proposed Go 1.21 patch basically ready? Should we create a branch and build job to start seeing how far we get in making 1.21 the default Go in Guix? Like others, I have a few random Go packages (a bunch locally I really need to clean up too) and am not familiar with the language and our packaging much. Still, if I can help review/push some patches and get things moving, please let me know. And thanks for all your work here, it is appreciated! John