From f02bc56d299e9cd7c264333488695fa70ddc937b Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Wed, 9 Nov 2022 10:45:50 -0500 Subject: [PATCH] doc/go1.20: add release notes for cmd/go changes Updates #41696. Updates #50332. Updates #41583. Change-Id: I99e96a2996f14da262570a5cb5273dcdce45df2b Reviewed-on: https://go-review.googlesource.com/c/go/+/449075 Reviewed-by: Russ Cox Run-TryBot: Bryan Mills Reviewed-by: Michael Matloob TryBot-Result: Gopher Robot Auto-Submit: Bryan Mills --- doc/go1.20.html | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/doc/go1.20.html b/doc/go1.20.html index 695acdf894d..551403fa452 100644 --- a/doc/go1.20.html +++ b/doc/go1.20.html @@ -59,18 +59,10 @@ Do not send CLs removing the interior tags from such phrases. TODO: https://go.dev/issue/45454: provide build tags for architecture environment variables

-

- TODO: https://go.dev/issue/50332: add -C flag to change directory -

-

TODO: CL 448357: cmd/go: print test2json start events

-

- TODO: https://go.dev/issue/41583: add go test -skip to skip specific tests -

-

The Go distribution no longer ships with pre-compiled .a files for most of the packages in GOROOT, now only including @@ -94,6 +86,25 @@ Do not send CLs removing the interior tags from such phrases. the GOPATH install targets to unexpectedly remain in effect.)

+

+ The -i flag is no longer accepted by + go build and go test. + The flag has been deprecated since Go 1.16. +

+ +

+ The go subcommands now accept + -C <dir> to change directory to <dir> + before performing the command, which may be useful for scripts that need to + execute commands in multiple different modules. +

+ +

+ The go test command now accepts + -skip <pattern> to skip tests or subtests + matching <pattern>. +

+

go version