dependabot[bot] eb5b685f9f
chore(deps): bump golang.org/x/net from 0.7.0 to 0.9.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.9.0.
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-05 23:02:56 +00:00

17 lines
393 B
Go

// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package cpu
// getAuxvFn is non-nil on Go 1.21+ (via runtime_auxv_go121.go init)
// on platforms that use auxv.
var getAuxvFn func() []uintptr
func getAuxv() []uintptr {
if getAuxvFn == nil {
return nil
}
return getAuxvFn()
}