-
Notifications
You must be signed in to change notification settings - Fork 357
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
mmap_unix.go missing BSD in Go build tag #564
Comments
didn't try before. Are you interested in giving a PR? |
Well it is a very simple change as the syscalls for the BSDs should match those for Darwin (based on BSD anyways) & Linux so something like this should be more than enough:
Unless you have reasons for being explict in this case. |
I didn't submit a PR, as it's a one line change and that the formatting of the file doesn't follow the standard
|
ok,I will submit it |
https://github.com/bytedance/sonic/blob/8c71eb047516a6b70f216887923f353f42d0501b/loader/mmap_unix.go#L1C1-L2C23
Would it be possible to make the loader/mmap_unix.go file target more Unix based OSes than just Darwin and Linux? I'm trying to build a project that indirectly depends on this package and I get the following build error.
The text was updated successfully, but these errors were encountered: