guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updates for Go


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

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 <attila@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

[Prev in Thread] Current Thread [Next in Thread]