Skip to content

Conversation

@DWwanghao
Copy link

loongarch64 is an architecture similar to RISC-V. When I compiled on this architecture, I encountered the error:

# github.com/templexxx/cpu
../go-mod/github.com/templexxx/cpu@v0.1.0/cpu.go:93:14: undefined array length CacheLineSize or missing type constraint
../go-mod/github.com/templexxx/cpu@v0.1.0/cpu.go:161:19: undefined array length CacheLineSize or missing type constraint
>>> ERROR: gost: build failed

The latest tag of the dependency library github.com/templexxx/cpu has already added support for this architecture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant