diff --git a/buildscripts/cross-compile.sh b/buildscripts/cross-compile.sh index 34643cec..4c59b30f 100755 --- a/buildscripts/cross-compile.sh +++ b/buildscripts/cross-compile.sh @@ -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() { diff --git a/cmd/stat.go b/cmd/stat.go index cbb35162..d0529181 100644 --- a/cmd/stat.go +++ b/cmd/stat.go @@ -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)