Skip to content

Commit

Permalink
chore: update incomptible warning message (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY authored Dec 13, 2023
1 parent b9a2d99 commit 8c71eb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ast/api_compat.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

func init() {
println("WARNING: sonic only supports Go1.16~1.20 && CPU amd64, but your environment is not suitable")
println("WARNING: sonic only supports Go1.16~1.21 && CPU amd64, but your environment is not suitable")
}

func quote(buf *[]byte, val string) {
Expand Down
2 changes: 1 addition & 1 deletion decoder/decoder_compat.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
)

func init() {
println("WARNING: sonic only supports Go1.16~1.20 && CPU amd64, but your environment is not suitable")
println("WARNING: sonic only supports Go1.16~1.21 && CPU amd64, but your environment is not suitable")
}

const (
Expand Down
2 changes: 1 addition & 1 deletion encoder/encoder_compat.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

func init() {
println("WARNING: sonic only supports Go1.16~1.20 && CPU amd64, but your environment is not suitable")
println("WARNING: sonic only supports Go1.16~1.21 && CPU amd64, but your environment is not suitable")
}

// Options is a set of encoding options.
Expand Down

0 comments on commit 8c71eb0

Please sign in to comment.