cpu_stub.go 367 B

12345678910111213141516171819
  1. //go:build !linux && !windows
  2. // +build !linux,!windows
  3. // Use and distribution licensed under the Apache license version 2.
  4. //
  5. // See the COPYING file in the root project directory for full text.
  6. //
  7. package cpu
  8. import (
  9. "runtime"
  10. "github.com/pkg/errors"
  11. )
  12. func (i *Info) load() error {
  13. return errors.New("cpu.Info.load not implemented on " + runtime.GOOS)
  14. }