aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/internal/sys/supported.go2
-rw-r--r--src/internal/fuzz/minimize_test.go2
-rw-r--r--src/internal/fuzz/sys_posix.go2
-rw-r--r--src/internal/fuzz/sys_unimplemented.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/internal/sys/supported.go b/src/cmd/internal/sys/supported.go
index f25aaabddd..82b65511de 100644
--- a/src/cmd/internal/sys/supported.go
+++ b/src/cmd/internal/sys/supported.go
@@ -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
diff --git a/src/internal/fuzz/minimize_test.go b/src/internal/fuzz/minimize_test.go
index 6e5f3184b4..2db2633896 100644
--- a/src/internal/fuzz/minimize_test.go
+++ b/src/internal/fuzz/minimize_test.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build darwin || linux || windows
+//go:build darwin || freebsd || linux || windows
package fuzz
diff --git a/src/internal/fuzz/sys_posix.go b/src/internal/fuzz/sys_posix.go
index 89c86c1ebb..fec6054f67 100644
--- a/src/internal/fuzz/sys_posix.go
+++ b/src/internal/fuzz/sys_posix.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build darwin || linux
+//go:build darwin || freebsd || linux
package fuzz
diff --git a/src/internal/fuzz/sys_unimplemented.go b/src/internal/fuzz/sys_unimplemented.go
index 123a32583c..f84dae6a61 100644
--- a/src/internal/fuzz/sys_unimplemented.go
+++ b/src/internal/fuzz/sys_unimplemented.go
@@ -4,7 +4,7 @@
// If you update this constraint, also update cmd/internal/sys.FuzzSupported.
//
-//go:build !darwin && !linux && !windows
+//go:build !darwin && !freebsd && !linux && !windows
package fuzz