From 1724077b789ad92972ab1ac03788389645306cbb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 28 Mar 2022 15:28:41 -0700 Subject: [PATCH] doc/go1.19: mention new unix build constraint For #51572 Change-Id: Ib27be79379c8b3f72e29365b58067d7ee1919e52 Reviewed-on: https://go-review.googlesource.com/c/go/+/396295 Trust: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov --- doc/go1.19.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/go1.19.html b/doc/go1.19.html index c71d5e760b..c0e2cf1761 100644 --- a/doc/go1.19.html +++ b/doc/go1.19.html @@ -34,6 +34,23 @@ Do not send CLs removing the interior tags from such phrases.

TODO: complete this section, or delete if not needed

+ +

New unix build constraint

+ +

+ The build constraint unix is now recognized + in //go:build lines. The constraint is satisfied + if the target operating system, also known as GOOS, is + a Unix or Unix-like system. For the 1.19 release it is satisfied + if GOOS is one of + aix, android, darwin, + dragonfly, freebsd, hurd, + illumos, ios, linux, + netbsd, openbsd, or solaris. + In future releases the unix constraint may match + additional newly supported operating systems. +

+

Runtime

TODO: complete this section, or delete if not needed -- 2.50.0