Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2023 16:44:40 +0200
From:      Robert Clausecker <fuz@fuz.su>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>, freebsd-go@freebsd.org
Subject:   Re: Respect go version from go.mod
Message-ID:  <ZSAdWIqVM4ZgCkcd@fuz.su>
In-Reply-To: <CAFDf7U%2Bzz2Lg0wswkDxQdH_w7FfEF5vM9=kXGWp6mjJqnobaog@mail.gmail.com>
References:  <CAFDf7U%2Bzz2Lg0wswkDxQdH_w7FfEF5vM9=kXGWp6mjJqnobaog@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Nuno,

I don't think so.  Go has pretty good backwards compatibility
and will on its own honour the toolchain version declared in go.mod.
I.e. it won't apply later language changes to projects declaring
an earlier Go version.

Plus we don't ship some of the versions that can be declared (such
as 1.16) anymore.

Yours,
Robert Clausecker

Am Fri, Oct 06, 2023 at 01:00:42PM +0100 schrieb Nuno Teixeira:
> Hello all,
> 
> Do we need to respect go version from go.mod in USES=go:<version>?
> 
> example:
> ---
> module github.com/vmware/govmomi
> 
> go 1.19
> 
> require (
> github.com/a8m/tree v0.0.0-20210115125333-10a5fd5b637d
> github.com/dougm/pretty v0.0.0-20171025230240-2ee9d7453c02
> <snip>
> ---
> 
> Thanks,
> 
> -- 
> Nuno Teixeira
> FreeBSD Committer (ports)

-- 
()  ascii ribbon campaign - for an 8-bit clean world 
/\  - against html email  - against proprietary attachments



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZSAdWIqVM4ZgCkcd>