[Solved] How does the compiler select the architecture for asm_*.S files?


By default, the Go compiler targets the architecture you are running. You can set the GOARCH environment variable to override this. See: https://golang.org/pkg/go/build/

1

solved How does the compiler select the architecture for asm_*.S files?