aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2021-12-23 15:57:54 -0800
committerIan Lance Taylor <iant@golang.org>2022-01-04 21:10:15 +0000
commit1c8f9d2c97db7390a7ed2cd4663571b544147f4d (patch)
treedb074c39cb0329e148a3ca8424eff7cdbf555d5a /doc
parent95b240b2cd63e9631b3d0be72a10a3f2cc6f1d28 (diff)
downloadgo-1c8f9d2c97db7390a7ed2cd4663571b544147f4d.tar.gz
go-1c8f9d2c97db7390a7ed2cd4663571b544147f4d.zip
doc/go1.18: mention new cmd/go fuzzing flags
For #47694 Change-Id: I00da9bd39700e938ec492daa71aba2035d911a06 Reviewed-on: https://go-review.googlesource.com/c/go/+/374354 Trust: Ian Lance Taylor <iant@golang.org> Trust: Katie Hockman <katie@golang.org> Reviewed-by: Katie Hockman <katie@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.18.html25
1 files changed, 24 insertions, 1 deletions
diff --git a/doc/go1.18.html b/doc/go1.18.html
index 4907dd6e2d..a5d7dcfcc5 100644
--- a/doc/go1.18.html
+++ b/doc/go1.18.html
@@ -304,6 +304,27 @@ Do not send CLs removing the interior tags from such phrases.
file to specify the single main module.
</p>
+<p><!-- CL 251441 -->
+ The <code>go</code> command now supports additional command line
+ options for the new <a href="#fuzzing">fuzzing support described
+ above</a>:
+ <ul>
+ <li>
+ <code>go test</code> supports
+ <code>-fuzz</code>, <code>-fuzztime</code>, and
+ <code>-fuzzminimizetime</code> options.
+ For documentation on these see
+ <a href="/pkg/cmd/go#hdr-Testing_flags"><code>go help testflag</code></a>.
+ </li>
+ <li>
+ <code>go clean</code> supports a <code>-fuzzcache</code>
+ option.
+ For documentation see
+ <a href="/pkg/cmd/go#hdr-Remove_object_files_and_cached_files"><code>go help clean</code></a>.
+ </li>
+ </ul>
+</p>
+
<h3 id="gofmt"><code>gofmt</code></h3>
<p><!-- https://golang.org/issue/43566 -->
@@ -979,7 +1000,9 @@ Do not send CLs removing the interior tags from such phrases.
<p><!-- CL 251441 -->
The new <a href="/pkg/testing#F"><code>testing.F</code></a> type
is used by the new <a href="#fuzzing">fuzzing support described
- above</a>.
+ above</a>. Tests also now support the command line
+ options <code>-test.fuzz</code>, <code>-test.fuzztime</code>, and
+ <code>-test.fuzzminimizetime</code>.
</p>
</dd>
</dl><!-- testing -->