diff --git a/src/internal/fuzz/counters_supported.go b/src/internal/fuzz/counters_supported.go index 79e27d27e1..a71d98d266 100644 --- a/src/internal/fuzz/counters_supported.go +++ b/src/internal/fuzz/counters_supported.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 || freebsd) && (amd64 || arm64) +//go:build (darwin || linux || windows || freebsd || openbsd) && (amd64 || arm64) package fuzz diff --git a/src/internal/fuzz/counters_unsupported.go b/src/internal/fuzz/counters_unsupported.go index 287bb4bd3c..156919ec2e 100644 --- a/src/internal/fuzz/counters_unsupported.go +++ b/src/internal/fuzz/counters_unsupported.go @@ -8,7 +8,7 @@ // // If you update this constraint, also update internal/platform.FuzzInstrumented. // -//go:build !((darwin || linux || windows || freebsd) && (amd64 || arm64)) +//go:build !((darwin || linux || windows || freebsd || openbsd) && (amd64 || arm64)) package fuzz diff --git a/src/internal/fuzz/minimize_test.go b/src/internal/fuzz/minimize_test.go index 2db2633896..e7e23e5a05 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 || freebsd || linux || windows +//go:build darwin || freebsd || linux || openbsd || windows package fuzz diff --git a/src/internal/fuzz/sys_posix.go b/src/internal/fuzz/sys_posix.go index fec6054f67..40d3771c2a 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 || freebsd || linux +//go:build darwin || freebsd || linux || openbsd package fuzz diff --git a/src/internal/fuzz/sys_unimplemented.go b/src/internal/fuzz/sys_unimplemented.go index 8687c1f963..30766ba525 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 internal/platform.FuzzSupported. // -//go:build !darwin && !freebsd && !linux && !windows +//go:build !darwin && !freebsd && !linux && !openbsd && !windows package fuzz diff --git a/src/internal/platform/supported.go b/src/internal/platform/supported.go index 702a255e4c..ad8dc93086 100644 --- a/src/internal/platform/supported.go +++ b/src/internal/platform/supported.go @@ -61,7 +61,7 @@ func ASanSupported(goos, goarch string) bool { // ('go test -fuzz=.'). func FuzzSupported(goos, goarch string) bool { switch goos { - case "darwin", "freebsd", "linux", "windows": + case "darwin", "freebsd", "linux", "openbsd", "windows": return true default: return false