Description of the patch:
This update for go1.27 fixes the following issues:
-
go1.27.0 (released 2026-08-19) is a major release of Go.
go1.27.x minor releases will be provided through August 2027.
https://github.com/golang/go/wiki/Go-Release-Cycle
go1.27 arrives six months after Go 1.26. Most of its changes are
in the implementation of the toolchain, runtime, and
libraries. As always, the release maintains the Go 1 promise of
compatibility. We expect almost all Go programs to continue to
compile and run as before. (bsc#1272545)
- Language change: Go 1.27 now supports generic methods: a method
declaration may declare its own type parameters. This widely
anticipated change allows adding generic functions within the
namespace of a particular data type where before one had to
declare such functions with a scope of the entire package.
- Language change: A key in a struct literal may now be any valid
field selector for the struct type, not just a (top-level)
field name of the struct.
- Language change: Function type inference has been generalized
to apply in all contexts where a generic function is assigned
to a variable of (or converted to) a matching function type.
- Tools: Response file (@file) parsing is now supported for the
compile, link, asm, cgo, cover, and pack tools. The response
file contains whitespace-separated arguments with support for
single-quoted and double-quoted strings, escape sequences, and
backslash-newline line continuation. The format is compatible
with GCC’s response file implementation to ensure
interoperability with existing build systems.
- go command: The go command no longer has support for the bzr
version control system. It will no longer be able to directly
fetch modules hosted on bzr servers.
- godebug: Starting with Go 1.27, the go command now recognizes a
GODEBUG setting for which support was removed (such as
asynctimerchan, see…