Skip to content

Commit 1c8f9d2

Browse files
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 <[email protected]> Trust: Katie Hockman <[email protected]> Reviewed-by: Katie Hockman <[email protected]>
1 parent 95b240b commit 1c8f9d2

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

doc/go1.18.html

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,27 @@ <h3 id="go-command">Go command</h3>
304304
file to specify the single main module.
305305
</p>
306306

307+
<p><!-- CL 251441 -->
308+
The <code>go</code> command now supports additional command line
309+
options for the new <a href="#fuzzing">fuzzing support described
310+
above</a>:
311+
<ul>
312+
<li>
313+
<code>go test</code> supports
314+
<code>-fuzz</code>, <code>-fuzztime</code>, and
315+
<code>-fuzzminimizetime</code> options.
316+
For documentation on these see
317+
<a href="/pkg/cmd/go#hdr-Testing_flags"><code>go help testflag</code></a>.
318+
</li>
319+
<li>
320+
<code>go clean</code> supports a <code>-fuzzcache</code>
321+
option.
322+
For documentation see
323+
<a href="/pkg/cmd/go#hdr-Remove_object_files_and_cached_files"><code>go help clean</code></a>.
324+
</li>
325+
</ul>
326+
</p>
327+
307328
<h3 id="gofmt"><code>gofmt</code></h3>
308329

309330
<p><!-- https://golang.org/issue/43566 -->
@@ -979,7 +1000,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
9791000
<p><!-- CL 251441 -->
9801001
The new <a href="/pkg/testing#F"><code>testing.F</code></a> type
9811002
is used by the new <a href="#fuzzing">fuzzing support described
982-
above</a>.
1003+
above</a>. Tests also now support the command line
1004+
options <code>-test.fuzz</code>, <code>-test.fuzztime</code>, and
1005+
<code>-test.fuzzminimizetime</code>.
9831006
</p>
9841007
</dd>
9851008
</dl><!-- testing -->

0 commit comments

Comments
 (0)