erigon-pulse/erigon-lib/mmap/total_memory_cgroups_stub.go

12 lines
168 B
Go
Raw Normal View History

//go:build !linux
package mmap
import (
"errors"
)
func cgroupsMemoryLimit() (uint64, error) {
return 0, errors.New("cgroups not supported in this environment")
}