Basic -buildmode=plugin functionality Tests to ensure the basic features of go_binary with linkmode="plugin" are working as expected. all_test Test that a go_binary rule can write its shared object file with a custom name in the package directory (not the mode directory). Test that a plugin built using a go_binary rule can be loaded by a Go program and that its symbols are working as expected.