diff --git a/core/stat/internal/cpu_linux.go b/core/stat/internal/cpu_linux.go index 245d0ad8..29ce9dec 100644 --- a/core/stat/internal/cpu_linux.go +++ b/core/stat/internal/cpu_linux.go @@ -1,3 +1,5 @@ +//go:build !nocgroup + package internal import ( diff --git a/core/stat/internal/cpu_other.go b/core/stat/internal/cpu_other.go index b9c27ff7..0634828c 100644 --- a/core/stat/internal/cpu_other.go +++ b/core/stat/internal/cpu_other.go @@ -1,4 +1,4 @@ -//go:build !linux +//go:build !linux || nocgroup package internal