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/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> * add build tags Signed-off-by: Stephan Renatus <stephan@styra.com> --------- Signed-off-by: Stephan Renatus <stephan@styra.com>
- Loading branch information