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

Release v0.10.0 does not build with GOOS=windows + GOARCH=amd64 #527

Closed
adrianosela opened this issue May 28, 2023 · 1 comment
Closed

Comments

@adrianosela
Copy link
Contributor

adrianosela commented May 28, 2023

Release v0.10.0 does not build with GOOS=windows + GOARCH=amd64

Packages importing v0.10.0 of this module (github.com/prometheus/procfs) cannot build for amd64 windows.

Issue likely introduced via 80824fa and solved for certain operating systems via #523 (but not windows!)

Example

10:41 $ GOOS=windows GOARCH=amd64 go build .
# github.com/prometheus/procfs
../../../../pkg/mod/github.com/prometheus/[email protected]/fs_statfs_type.go:25:18: undefined: syscall.Statfs_t
../../../../pkg/mod/github.com/prometheus/[email protected]/fs_statfs_type.go:26:17: undefined: syscall.Statfs

Release v0.10.0 is a breaking change. Kindly look into this.

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

No branches or pull requests

2 participants