mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-04-19 00:47:25 +00:00
Bumps [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) from 4.25.8 to 4.25.9. - [Release notes](https://github.com/shirou/gopsutil/releases) - [Commits](https://github.com/shirou/gopsutil/compare/v4.25.8...v4.25.9) --- updated-dependencies: - dependency-name: github.com/shirou/gopsutil/v4 dependency-version: 4.25.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
20 lines
789 B
Go
20 lines
789 B
Go
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-FileCopyrightText: 2022 The Ebitengine Authors
|
|
|
|
//go:build cgo && (darwin || freebsd || linux || netbsd)
|
|
|
|
package purego
|
|
|
|
// if CGO_ENABLED=1 import the Cgo runtime to ensure that it is set up properly.
|
|
// This is required since some frameworks need TLS setup the C way which Go doesn't do.
|
|
// We currently don't support ios in fakecgo mode so force Cgo or fail
|
|
// Even if CGO_ENABLED=1 the Cgo runtime is not imported unless `import "C"` is used.
|
|
// which will import this package automatically. Normally this isn't an issue since it
|
|
// usually isn't possible to call into C without using that import. However, with purego
|
|
// it is since we don't use `import "C"`!
|
|
import (
|
|
_ "runtime/cgo"
|
|
|
|
_ "github.com/ebitengine/purego/internal/cgo"
|
|
)
|