gin icon indicating copy to clipboard operation
gin copied to clipboard

I have looked at the source code and it seems that the Sonic package is not supported by the arm64 architecture in this framework

Open adiapi opened this issue 9 months ago • 1 comments

Main issues

  • internal/json/sonic.go
//go:build sonic && avx && (linux || windows || darwin) && amd64

Minor issues

  • internal/json/json.go
//go:build !jsoniter && !go_json && !(sonic && avx && (linux || windows || darwin) && amd64)

Perhaps Sonic initially did not support arm64, we hope they can be corrected in a timely manner. Thank you to the Gin team for their tremendous contribution!

adiapi avatar Mar 13 '25 13:03 adiapi

Hi~ Hope to fix these two files as soon as possible, Thanks!

adiapi avatar Mar 21 '25 03:03 adiapi

a fix for this was merged - https://github.com/gin-gonic/gin/pull/4234

yashgorana avatar May 24 '25 04:05 yashgorana