diff --git a/src/internal/fuzz/counters_supported.go b/src/internal/fuzz/counters_supported.go index 79e27d27e1af28..a71d98d2663d0a 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 028065ce30f6ac..4feffe83de083b 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.FuzzInstrumeted. // -//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 2db26338967e27..e7e23e5a052cc4 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 fec6054f671cc8..40d3771c2ac0e6 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 8687c1f963e1ba..30766ba525f2c8 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 e762bb304e8070..1ddfcaefefdd6e 100644 --- a/src/internal/platform/supported.go +++ b/src/internal/platform/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", "freebsd", "linux", "windows": + case "darwin", "freebsd", "linux", "openbsd", "windows": return true default: return false