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.

--
Katherine



Reply via email to