-
Notifications
You must be signed in to change notification settings - Fork 206
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
Submit custom syscalls to golang #26
Comments
I did a little research while working on some new features for
and I think there is no way now to add a new syscalls to golang core packages. Moreover as I understood, And about migration to |
https://github.com/cwchiu/go-winapi Pros
Cons
|
Have to migrate unix codebase to |
Some steps forward are being made with the |
I'm wondering if we can submit the missing syscalls (that we generate with mksyscall & friend) to upstream golang developers to be added to the
syscall
package, so they could be removed from this library.After some research here's what I've found:
syscall
is a frozen package, is kept alive just for the go v1 compatibility promise, here the notice coming from https://golang.org/pkg/syscall/:NOTE: This package is locked down. Code outside the standard Go repository should be migrated to use the corresponding package in the golang.org/x/sys repository. That is also where updates required by new systems or versions should be applied. See https://golang.org/s/go1.4-syscall for more information.
The new golang.org/x/sys package looks promising but we should first migrate the library to use
golang.org/x/sys
instead ofsyscall
.@albenik (or anyone esle) do you have any experience/opinion on that?
The text was updated successfully, but these errors were encountered: