1[!buildmode:plugin] skip 2[short] skip 3[!cgo] skip '-buildmode=plugin requires external linking' 4 5go build -trimpath -buildvcs=false -buildmode=plugin -o a.so main.go 6go build -trimpath -buildvcs=false -buildmode=plugin -o b.so main.go 7cmp -q a.so b.so 8 9-- main.go -- 10package main 11 12func main() {}