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

Use x/sys for better OS coverage #6

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Conversation

anuraaga
Copy link
Contributor

I found that syscall does not provide Mprotect on freebsd and I guess won't since Golang wants to discourage using that package. And I guess @ncruces already knew this :) Had avoided x/sys to reduce external dependencies but I think for this allocator it's more important to have the proper syscall coverage, and hopefully there won't be API breaks even though it's not 1.x.

@anuraaga anuraaga requested a review from ncruces June 20, 2024 01:35
Copy link
Collaborator

@ncruces ncruces left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm firmly on x/sys territory (and working to improve it).

I've argued wazero should do the same. Like, the z/OS Go toolchain isn't even publicly available, but IBM commits to x/sys to make sure it's portable. We only benefit from using it.

@anuraaga anuraaga merged commit 3dff157 into wasilibs:main Jun 20, 2024
5 checks passed
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.

None yet

2 participants