Fixes #42474
Change-Id: I1550b44b92cd272854e2f17493245a14e3d39f41
GitHub-Last-Rev:
948d01716eff41c25515dfb6135769862977aba1
GitHub-Pull-Request: golang/go#42475
Reviewed-on: https://go-review.googlesource.com/c/go/+/268737
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Trust: Jay Conrod <jayconrod@google.com>
-# Plugins are only supported on linux,cgo (!riscv64) and darwin,cgo.
-[!linux] [!darwin] skip
-[linux] [riscv64] skip
-[!cgo] skip
+# Plugins are not supported on all platforms.
+[!buildmode:plugin] skip
go build -n testdep
! go build -buildmode=plugin testdep