Skip to content

Bump gopsutil to v4.x #667

@friegger

Description

@friegger

Building the project currently raises the following cgo warning:

.../[email protected]/cpu.go:75:17: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]

The dependency comes in via gopsutil:

go mod why github.com/shoenig/go-m1cpu

# github.com/shoenig/go-m1cpu
github.com/ironcore-dev/libvirt-provider/internal/mcr
github.com/shirou/gopsutil/v3/cpu
github.com/shoenig/go-m1cpu

There is a fix in go-m1cpu, but gopsutil v4 does not use that dependency at all anymore.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions