Support arm32, 386 compilation: (#3103)
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user