I tried to regenerate $GOROOT/syscall/zsyscall_windows.go file. I run go generate in syscall directory.
What did you expect to see?
I expected to see no errors. And have zsyscall_windows.go file updated.
What did you see instead?
$ go generate
cannot find package "." in:
syscall.go:29: running "go": exit status 1
and my zsyscall_windows.go does not change.
It appears golang.org/x/sys/windows/mkwinsyscall is broken now that we have to use modules.
We also need to update internal/syscall/windows and internal/syscall/windows/registry package. I also use mkwinsyscall in a couple of my own projects. I also suspect that some people use it too. So we need some easy to use solution.
@bcmills for suggestions. I am happy to use whatever approach you suggest.
The text was updated successfully, but these errors were encountered: