ghw icon indicating copy to clipboard operation
ghw copied to clipboard

Accelerator issue on Windows build

Open mrpalide opened this issue 2 months ago • 1 comments

When I try to build my project on Windows (in a GitHub Actions workflow), I get this error:

github.com/jaypipes/ghw/pkg/accelerator
Error: vendor\github.com\jaypipes\ghw\pkg\accelerator\accelerator.go:50:24: info.load undefined (type *Info has no field or method load)

This doesn't happen on v0.17.0, so I downgraded to that version until you can fix the problem.

Also, when I inspect the vendor folder in VS Code, the file accelerator_windows.go appears grayed out (not white), which usually means it's being ignored by .gitignore. I checked my .gitignore and there’s nothing related to it. Other packages’ _windows.go files are displayed normally.

Image

mrpalide avatar Oct 02 '25 22:10 mrpalide

thanks for the bug report @mrpalide! I'll look into this over the weekend :)

jaypipes avatar Oct 04 '25 00:10 jaypipes