Skip to content

Commit

Permalink
all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor)
Browse files Browse the repository at this point in the history
When these packages are released as part of Go 1.18,
Go 1.16 will no longer be supported, so we can remove
the +build tags in these files.

Ran go fix -fix=buildtag std cmd and then reverted the bootstrapDirs
as defined in cmd/dist/buildtool.go, which need to continue
to build with Go 1.4 for now.

Also reverted vendor and cmd/vendor, which will need
to be updated in their own repos first.

Manual changes in runtime/pprof/mprof_test.go to adjust line numbers.

For #41184.

Change-Id: Ic0f93f7091295b6abc76ed5cd6e6746e1280861e
Reviewed-on: https://go-review.googlesource.com/c/go/+/344955
Trust: Russ Cox <[email protected]>
Run-TryBot: Russ Cox <[email protected]>
TryBot-Result: Go Bot <[email protected]>
Reviewed-by: Bryan C. Mills <[email protected]>

Cherry-picked-from: golang/go@f229e70
  • Loading branch information
rsc authored and LukeShu committed Apr 24, 2024
1 parent 2edec1b commit c90d706
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion html/fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build gofuzz
// +build gofuzz

package html

Expand Down

0 comments on commit c90d706

Please sign in to comment.