Skip to content
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

invalid reference to crypto/sha1.(*digest).Reset #12

Open
PoisonPhang opened this issue Sep 12, 2024 · 2 comments
Open

invalid reference to crypto/sha1.(*digest).Reset #12

PoisonPhang opened this issue Sep 12, 2024 · 2 comments

Comments

@PoisonPhang
Copy link

Using this with golang v1.23 results in the following error

link: github.com/tunabay/go-bitarray: invalid reference to crypto/sha1.(*digest).Reset

This is also present in the playground sample linked in the README

@PoisonPhang
Copy link
Author

@tunabay
Copy link
Owner

tunabay commented Sep 13, 2024

Thank you for the report. I haven't maintained this repo for a long time, but I'd like to see if there's an easy way to fix it.

Currently available ad hoc workarounds are to use Go 1.22 or use the -checklinkname=0 flag.
https://tip.golang.org/doc/go1.23#:~:text=alignhot%3D0.-,Linker%C2%B6,-The%20linker%20now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants