Honor //go/config:linkmode
for go_test
#3629
Merged
//go/config:linkmode
for go_test
#3629