cloudpan189-go
cloudpan189-go copied to clipboard
Build fails with Go 1.23
trafficstars
Building with Go 1.23 in
- https://github.com/Homebrew/homebrew-core/pull/175310
threw an error:
# github.com/tickstep/cloudpan189-go
link: github.com/tickstep/library-go/cachepool: invalid reference to runtime.rawbyteslice
indicating, that referenced upstream Go module github.com/tickstep/library-go is not yet compatible with upcoming Go 1.23
See
- https://github.com/tickstep/library-go/issues/1
Build is still failing with Go 1.23 rc2.
This can probably now be fixed as well, since
- Similar https://github.com/tickstep/aliyunpan/issues/437 and
- Upstream https://github.com/tickstep/library-go/issues/1
were both fixed.
go build -ldflags="-checklinkname=0"
Will fix the issues, anyway, if you're looking a new version. Try this: https://github.com/MaurUppi/cloudpan189-go/releases/tag/v0.1.5