blob: 2f70a0e2b2ba8fd7513b2145419eb6ff17533806 [file] [log] [blame]
[!buildmode:plugin] skip
[short] skip
[!cgo] skip '-buildmode=plugin requires external linking'
# This test has problems when run on the LUCI darwin longtest builder,
# which uses a more contemporary Xcode version that is unfriendly to
# reproducible builds (see issue #64947 for the gory details). Note
# that individual developers running "go test cmd/go" on Darwin may
# still run into failures depending on their Xcode version.
[GOOS:darwin] [go-builder] skip
go build -trimpath -buildvcs=false -buildmode=plugin -o a.so main.go
go build -trimpath -buildvcs=false -buildmode=plugin -o b.so main.go
cmp -q a.so b.so
-- main.go --
package main
func main() {}