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

Go 1.18: .\unsafe.go:47:3: //go:linkname must refer to declared function or variable #7

Open
Marreck opened this issue Mar 16, 2022 · 3 comments

Comments

@Marreck
Copy link

Marreck commented Mar 16, 2022

Hi,

The newly released Go 1.18 breaks this with the following when building:

.\unsafe.go:47:3: //go:linkname must refer to declared function or variable

@raszia
Copy link

raszia commented Mar 26, 2022

@Marreck did you find any solution for this?

@Marreck
Copy link
Author

Marreck commented Mar 28, 2022

I just removed the line, which had no impact on how I use this package. But am switching to another serializing package to make sure no problems will arise.

@l0k18
Copy link

l0k18 commented Apr 12, 2022

https://github.com/cybriq/gotiny I forked this to fix this problem. I can't tell of course whether this breaks the implementation in any way as I didn't check to see if the udp multicast protocol I use this as codec for works but I presume it does.

It looks like I am adopting this project. I timed its performance and there is nothing faster. The rest of the world needs to just adopt go and forget their stupid generics and objects and ten year long compilations and 5 billion breaking changes every week.

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

3 participants