diff --git a/core/stat/internal/cpu_linux.go b/core/stat/internal/cpu_linux.go index 245d0ad8b..29ce9decb 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 b9c27ff75..0634828cf 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