gorebuild
gorebuild copied to clipboard
EXDEV when /tmp and GOPATH are not on the same filesystem
When /tmp and GOPATH live on different filesystems, gorebuild fails with EXDEV ("invalid cross-device link").
This is caused by the use of os.Rename to move the newly built binary back into place.