On Wed, Sep 14, 2022 at 7:48 AM 布雷 <gongle...@gmail.com> wrote: > > 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. > getting help.
I wouldn't expect that to work even if you were able to fix that problem. What are you really trying to do? Note that "go run" is a convenience feature, not really suited for a complex tool like cmd/compile. 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcUUcSnRA%3DT5oqMApY43viYW%2Bc%3DEG0kr8UECCFyN8-7jAg%40mail.gmail.com.