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

proccess_collector: add wasip1 stub #1350

Merged
merged 2 commits into from Oct 10, 2023

Commits on Sep 25, 2023

  1. proccess_collector: add wasip1 stub

    This resolves build failures like this when using the wasip1 support:
    
        # github.com/prometheus/procfs
        ../../../go/pkg/mod/github.com/prometheus/procfs@v0.11.1/fs_statfs_type.go:25:18: undefined: syscall.Statfs_t
        ../../../go/pkg/mod/github.com/prometheus/procfs@v0.11.1/fs_statfs_type.go:26:17: undefined: syscall.Statfs
    
    See https://go.dev/blog/wasi.
    
    Signed-off-by: Stephan Renatus <stephan@styra.com>
    srenatus committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    b00a270 View commit details
    Browse the repository at this point in the history
  2. add build tags

    Signed-off-by: Stephan Renatus <stephan@styra.com>
    srenatus committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    a671e54 View commit details
    Browse the repository at this point in the history