I agree with the OP: it would be less surprising if "go build ./..." always did build and store the artefacts, and there were a separate flag to discard them.
Currently, "go build ./..." discards the build artefacts under certain conditions, see this example <https://groups.google.com/g/golang-nuts/c/JvHa4EEVEQo/m/9W7OIrIiAgAJ>. -- 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/23ac5402-3010-4c8b-858a-aee6c0300816n%40googlegroups.com.
