2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-21 20:35:12 +00:00

helpers: Rework list of architectures

This also removes darwin/386 which is not supported on Go 1.15 any more.
This commit is contained in:
Alexander Neumann 2020-09-12 16:39:04 +02:00
parent 93583c01b1
commit 8903b6c88a

View File

@ -222,11 +222,11 @@ func buildTargets(sourceDir, outputDir string, targets map[string][]string) {
}
var defaultBuildTargets = map[string][]string{
"darwin": []string{"386", "amd64"},
"freebsd": []string{"386", "amd64", "arm"},
"linux": []string{"386", "amd64", "arm", "arm64", "ppc64le"},
"openbsd": []string{"386", "amd64"},
"windows": []string{"386", "amd64"},
"darwin": {"amd64"},
"freebsd": {"386", "amd64", "arm"},
"linux": {"386", "amd64", "arm", "arm64", "ppc64le"},
"openbsd": {"386", "amd64"},
"windows": {"386", "amd64"},
}
func main() {