Skip to content

Commit f02bc56

Browse files
Bryan C. Millsgopherbot
Bryan C. Mills
authored andcommitted
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 <rsc@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com> Reviewed-by: Michael Matloob <matloob@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Bryan Mills <bcmills@google.com>
1 parent ed615aa commit f02bc56

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

doc/go1.20.html

+19-8
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,10 @@ <h3 id="go-command">Go command</h3>
5959
TODO: <a href="https://go.dev/issue/45454">https://go.dev/issue/45454</a>: provide build tags for architecture environment variables
6060
</p>
6161

62-
<p><!-- https://go.dev/issue/50332 -->
63-
TODO: https://go.dev/issue/50332: add -C flag to change directory
64-
</p>
65-
6662
<p><!-- CL 448357: cmd/go: print test2json start events -->
6763
TODO: CL 448357: cmd/go: print test2json start events
6864
</p>
6965

70-
<p><!-- https://go.dev/issue/41583 -->
71-
TODO: https://go.dev/issue/41583: add go test -skip to skip specific tests
72-
</p>
73-
7466
<p><!-- CL 432535: cmd/go: don't install most GOROOT .a files in pkg -->
7567
The Go distribution no longer ships with pre-compiled <code>.a</code>
7668
files for most of the packages in <code>GOROOT</code>, now only including
@@ -94,6 +86,25 @@ <h3 id="go-command">Go command</h3>
9486
the <code>GOPATH</code> install targets to unexpectedly remain in effect.)
9587
</p>
9688

89+
<p><!-- https://go.dev/issue/41696, CL 416094 -->
90+
The <code>-i</code> flag is no longer accepted by
91+
<code>go</code> <code>build</code> and <code>go</code> <code>test</code>.
92+
The flag has been <a href="https://go.dev/issue/41696">deprecated since Go 1.16</a>.
93+
</p>
94+
95+
<p><!-- https://go.dev/issue/50332 -->
96+
The <code>go</code> subcommands now accept
97+
<code>-C</code> <code>&lt;dir&gt;</code> to change directory to &lt;dir&gt;
98+
before performing the command, which may be useful for scripts that need to
99+
execute commands in multiple different modules.
100+
</p>
101+
102+
<p><!-- https://go.dev/issue/41583 -->
103+
The <code>go</code> <code>test</code> command now accepts
104+
<code>-skip</code> <code>&lt;pattern&gt;</code> to skip tests or subtests
105+
matching <code>&lt;pattern&gt;</code>.
106+
</p>
107+
97108
<h4 id="go-version"><code>go</code> <code>version</code></h4>
98109

99110
<p><!-- https://go.dev/issue/48187 -->

0 commit comments

Comments
 (0)