From 7f806c1052aa919c1c195a5b2223626beab2495c Mon Sep 17 00:00:00 2001 From: Guoqi Chen Date: Fri, 25 Apr 2025 19:59:01 +0800 Subject: [PATCH] runtime, internal/fuzz: optimize build tag combination on loong64 Change-Id: I971b789beb08e0c6b11169fd5547a8d4ab74fab5 Reviewed-on: https://go-review.googlesource.com/c/go/+/668155 Reviewed-by: Junyang Shao LUCI-TryBot-Result: Go LUCI Reviewed-by: Jorropo Reviewed-by: Dmitri Shuralyov --- src/internal/fuzz/counters_supported.go | 2 +- src/internal/fuzz/counters_unsupported.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal/fuzz/counters_supported.go b/src/internal/fuzz/counters_supported.go index 7d3b92408d..a877239186 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)) || loong64 +//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 93b99e5b09..af2b56cdd8 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)) && !loong64 +//go:build !((darwin || linux || windows || freebsd || openbsd) && (amd64 || arm64 || loong64)) package fuzz -- 2.50.0