-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for go1.21 and newer versions of Go #468
Comments
Thanks, we will fix it |
Thank you! Do you have a rough sense of when this might happen? I'm looking to plan some work around this. |
build on Go1.21 is not blocked since we have fallbacked it. you can try it |
Is there a specific commit where this fallback is added at? I'm still seeing this error after upgrading to v1.9.2, as a minor note we're building with Bazel, but that shouldn't affect the core error.
|
Hey @AsterDY, sonic is actually an indirect dependency of https://github.com/cloudwego/hertz so we're not using sonic directly as far as I know. However, our build system is building all dependencies (direct or transitive) with the latest version of go (1.21). We see failures when building the whole sonic repository (Bazel is building all packages) and notice a failure in the loader package. I see similar issues in the hertz library: @GuangmingLuo, let me get back to you after checking in with my team. |
any update? |
I am confused about "our build system is building all dependencies (direct or transitive) "? latest sonic version fallback to |
BTW, supporting for Go1.21 in on the way branch |
resolved by #493 |
Please to leave a use case message to support our work. Thanks~ @r-hang |
The go1.21 release candidate is now live but the README.md of this repository states that only Go 1.15~1.20 is supported. Could this library be updated and released to support go1.21?
Our repository depends on this library and efforts to prepare it to run on the latest versions of Go (i.e. 1.21) is currently blocked for this reason.
Is it possible to compose this library's logic to work with future versions of Go in some baseline/degraded capacity? While it's understandable some optimizations must be based on version specific details, being able to build and run this library in some form under newer Go versions seems desirable.
The text was updated successfully, but these errors were encountered: