when I run `go run src/cmd/compile/main.go`, I got error at main.go:8:2: use of internal package cmd/compile/internal/amd64 not allowed. I'm confused with the error and cann't solve it.
What version of Go are you running? If I navigate to my
go folder (in my case, /usr/local/go), when I type in
go run src/cmd/compile/main.go, I get the go tool compile help output.
$ go version go version go1.19 linux/386
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.