Skip to content

Accelerator issue on Windows build #426

@mrpalide

Description

@mrpalide

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions