chore: migrate to gitea
This commit is contained in:
12
vendor/github.com/bytedance/sonic/internal/compat/warn.go
generated
vendored
Normal file
12
vendor/github.com/bytedance/sonic/internal/compat/warn.go
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
// +build !amd64,!arm64 go1.27 !go1.17 arm64,!go1.20
|
||||
|
||||
package compat
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
||||
func Warn(prefix string) {
|
||||
fmt.Fprintf(os.Stderr, "WARNING: %s only supports (go1.17~1.26 and amd64 CPU) or (go1.20~1.26 and arm64 CPU), but your environment is not suitable and will fallback to encoding/json\n", prefix)
|
||||
}
|
||||
Reference in New Issue
Block a user