Skip to content

Commit f9d08e1

Browse files
peat-psuwitlbolla
authored andcommitted
.goxc.json: list os/arch explicitly to avoid darwin/386
Go 1.15 drops support for darwin/386 GOOS/GOARCH pair [1]. So, we have to skip this pair, and thus cannot use simple os multiply arch anymore. Switch to goxc's BuildConstraints config, which uses the same syntax as Go's build constraint header [2]. [1] golang/go#37610 [2] https://golang.org/cmd/go/#hdr-Build_constraints
1 parent cbf0416 commit f9d08e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.goxc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
}
3535
},
3636
"ResourcesInclude": "README.rst,LICENSE,AUTHORS,man/aptly.1",
37-
"Arch": "386 amd64",
38-
"Os": "linux darwin freebsd",
37+
"BuildConstraints": "linux,386 linux,amd64 darwin,amd64 freebsd,386 freebsd,amd64",
3938
"MainDirsExclude": "_man,vendor",
4039
"BuildSettings": {
4140
"LdFlagsXVars": {

0 commit comments

Comments
 (0)