|
From: | Katherine Cox-Buday |
Subject: | Re: Updates for Go |
Date: | Wed, 23 Aug 2023 10:12:32 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
Hi Attila, On Tue, Aug 22, 2023 at 6:14 AM Attila Lendvai <attila@lendvai.name> wrote:currently the go build system in guix does not reuse build artifactsCan 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.
-- Katherine
[Prev in Thread] | Current Thread | [Next in Thread] |