github.com/tonistiigi/docker@v0.10.1-0.20240229224939-974013b0dc6a/pkg/meminfo/meminfo_unsupported.go (about) 1 //go:build !linux && !windows 2 3 package meminfo 4 5 import "errors" 6 7 // readMemInfo is not supported on platforms other than linux and windows. 8 func readMemInfo() (*Memory, error) { 9 return nil, errors.New("platform and architecture is not supported") 10 }