Skip to content

Conversation

@scqo
Copy link

@scqo scqo commented Oct 18, 2025

Cross-compiling for OpenBSD arm64 fails due to the use of //go:linkname without explicitly importing the unsafe package. The compiler reports: go:linkname requires import of "unsafe". This commit adds import _ "unsafe" to fix the build error.

Signed-off-by: scqo <soku657@outlook.com>
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

Successfully merging this pull request may close these issues.

1 participant