Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proccess_collector: add wasip1 stub (#1350)
* 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/[email protected]/fs_statfs_type.go:25:18: undefined: syscall.Statfs_t ../../../go/pkg/mod/github.com/prometheus/[email protected]/fs_statfs_type.go:26:17: undefined: syscall.Statfs See https://go.dev/blog/wasi. Signed-off-by: Stephan Renatus <[email protected]> * add build tags Signed-off-by: Stephan Renatus <[email protected]> --------- Signed-off-by: Stephan Renatus <[email protected]>
- Loading branch information