Support arm32, 386 compilation: (#3103)

This commit is contained in:
kannappanr
2020-03-05 09:27:20 -08:00
committed by GitHub
parent 24e7caa146
commit a0d9e26dc7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ function _init() {
export CGO_ENABLED=0
## List of architectures and OS to test coss compilation.
SUPPORTED_OSARCH="linux/ppc64le linux/arm64 linux/s390x darwin/amd64 freebsd/amd64"
SUPPORTED_OSARCH="linux/ppc64le linux/arm64 linux/s390x darwin/amd64 freebsd/amd64 linux/arm linux/386"
}
function _build() {
+1 -1
View File
@@ -164,7 +164,7 @@ func statURL(targetURL string, isIncomplete, isRecursive bool, encKeyDB map[stri
standardizedURL := getStandardizedURL(targetURL)
if !isRecursive && !strings.HasPrefix(url, standardizedURL) {
return nil, errTargetNotFound(targetURL)
return nil, errTargetNotFound(targetURL).Trace(url, standardizedURL)
}
_, stat, err := url2Stat(url, true, true, encKeyDB)