Skip to content

Commit

Permalink
cmd/go: enable fuzz testing for FreeBSD
Browse files Browse the repository at this point in the history
Add "freebsd" to GOOS that sys.FuzzSupported() returns true for.

Fixes: golang#46554
  • Loading branch information
ayang64 committed Jan 11, 2022
1 parent a20724d commit 285cc73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/internal/sys/supported.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func ASanSupported(goos, goarch string) bool {
// ('go test -fuzz=.').
func FuzzSupported(goos, goarch string) bool {
switch goos {
case "darwin", "linux", "windows":
case "darwin", "freebsd", "linux", "windows":
return true
default:
return false
Expand Down

0 comments on commit 285cc73

Please sign in to comment.