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

[ad_1]

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

[ad_2]

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