The x/sys package is missing the `archInit` function for riscv64 on generic platforms. This results in the following error: ``` go/pkg/mod/golang.org/x/sys@v0.0.0-20220315194320-039c03cc5b86/cpu/cpu.go:199:2: undefined: archInit ``` The same does not happen for arm as [cpu_other_arm.go](https://cs.opensource.google/go/x/sys/+/master:cpu/cpu_other_arm.go) provides the required stub. Can you kindly add an equivalent `cpu_other_riscv64` ? Thanks!
Activity
heschi commentedon Jul 6, 2022
cc @golang/runtime
gopherbot commentedon Jul 7, 2022
Change https://go.dev/cl/416394 mentions this issue:
cpu: support non-linux OS for riscv64cpu: support non-linux OS for riscv64