On Fri, Aug 28, 2020 at 9:35 AM Chai Baoyang <[email protected]> wrote:
>
> Hi All,
>      I tried to run "go test -timeout 30s -run ^TestMemStats$" in the source 
> directory runtime. But failed with error infomation below:
> "error.go:7:8: use of internal package internal/bytealg not allowed
> alg.go:8:2: use of internal package internal/cpu not allowed
> atomic_pointer.go:8:2: use of internal package runtime/internal/atomic not 
> allowed
> chan.go:22:2: use of internal package runtime/internal/math not allowed
> alg.go:9:2: use of internal package runtime/internal/sys not allowed"

This normally means that the "go" binary on your PATH had a GOROOT
that was not the same as the directory in which you ran "go test".

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcX%3Dz3PRNn%3D1fXi46FdnSe%3DGCdTmOQZHQSPZy_491cjWiw%40mail.gmail.com.

Reply via email to