aboutsummaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/fuzz/counters_supported.go2
-rw-r--r--src/internal/fuzz/counters_unsupported.go2
-rw-r--r--src/internal/platform/supported.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/internal/fuzz/counters_supported.go b/src/internal/fuzz/counters_supported.go
index a71d98d266..7d3b92408d 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 || openbsd) && (amd64 || arm64)
+//go:build ((darwin || linux || windows || freebsd || openbsd) && (amd64 || arm64)) || loong64
package fuzz
diff --git a/src/internal/fuzz/counters_unsupported.go b/src/internal/fuzz/counters_unsupported.go
index 156919ec2e..93b99e5b09 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 || openbsd) && (amd64 || arm64))
+//go:build !((darwin || linux || windows || freebsd || openbsd) && (amd64 || arm64)) && !loong64
package fuzz
diff --git a/src/internal/platform/supported.go b/src/internal/platform/supported.go
index ad8dc93086..262ba14739 100644
--- a/src/internal/platform/supported.go
+++ b/src/internal/platform/supported.go
@@ -72,7 +72,7 @@ func FuzzSupported(goos, goarch string) bool {
// instrumentation. (FuzzInstrumented implies FuzzSupported.)
func FuzzInstrumented(goos, goarch string) bool {
switch goarch {
- case "amd64", "arm64":
+ case "amd64", "arm64", "loong64":
// TODO(#14565): support more architectures.
return FuzzSupported(goos, goarch)
default: