Skip to content

Commit

Permalink
doc/go1.18: mention new cmd/go fuzzing flags
Browse files Browse the repository at this point in the history
For golang#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>
  • Loading branch information
ianlancetaylor authored and jproberts committed Jun 21, 2022
1 parent db46b2c commit d42765a
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion doc/go1.18.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,27 @@ <h3 id="go-command">Go command</h3>
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 -->
Expand Down Expand Up @@ -979,7 +1000,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
<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 -->
Expand Down

0 comments on commit d42765a

Please sign in to comment.