Skip to content

Commit 86761ae

Browse files
committed
go.dev/_content/blog: update build constraints in fuzz-beta post
CL 351569 updated this blog post to use gotip without arguments, since the dev.fuzz branch has been merged to the main branch and is slated to be included in Go 1.18. Update the build constraint in the shown example accordingly, since the gofuzzbeta constraint is no longer set as of CL 351118. Suggest the use of a go1.18 build constraint instead. While here, also update to the newer go install @latest syntax for downloading the gotip command, for reasons similar to what's described in CL 346091. For golang/go#47037. Updates golang/go#48080. Change-Id: Icbf3d3ad5ef5532063ca3e093eed330f7ea0c0d9 Reviewed-on: https://go-review.googlesource.com/c/website/+/353430 Website-Publish: DO NOT USE <[email protected]> Trust: Dmitri Shuralyov <[email protected]> Reviewed-by: Jay Conrod <[email protected]> Reviewed-by: Katie Hockman <[email protected]>
1 parent 558b9da commit 86761ae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

go.dev/_content/blog/fuzz-beta.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ for more details about this feature.
2929

3030
To get started, you may run the following
3131

32-
$ go get golang.org/dl/gotip
32+
$ go install golang.org/dl/gotip@latest
3333
$ gotip download
3434

3535
This builds the Go toolchain from the master branch. After running this, `gotip`
@@ -47,7 +47,8 @@ argument is passed to a `TestXxx` function.
4747
Below is an example of a fuzz target that’s testing the behavior of the [net/url
4848
package](https://pkg.go.dev/net/url#ParseQuery).
4949

50-
// +build gofuzzbeta
50+
//go:build go1.18
51+
// +build go1.18
5152

5253
package fuzz
5354

0 commit comments

Comments
 (0)