From 8fa277ed0548755ab6cfc7a4cc80b58e77948852 Mon Sep 17 00:00:00 2001 From: Michael Li Date: Sun, 5 Feb 2023 19:07:34 +0800 Subject: [PATCH] fixed json go:build tags error for sonic --- pkg/json/json.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/json/json.go b/pkg/json/json.go index a26d7db2..c5f3efc8 100644 --- a/pkg/json/json.go +++ b/pkg/json/json.go @@ -2,8 +2,10 @@ // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. -//go:build !jsoniter && !go_json -// +build !jsoniter,!go_json +//go:build !jsoniter && !go_json && !(sonic && avx && (linux || windows || darwin) && amd64) +// +build !jsoniter +// +build !go_json +// +build !sonic !avx !linux,!windows,!darwin !amd64 package json