code: func ignored(build config.Build, target target) bool {
  	for _, ig := range build.Ignore {
  		if ig.Goos != "" && ig.Goos != target.os {
  			continue
  		}
  		if ig.Goarch != "" && ig.Goarch != target.arch {
  			continue
  		}
  		if ig.Goarm != "" && ig.Goarm != target.arm {
  			continue
  		}
  		return true
  	}
  	return false
  }
docs: // TODO: this could be improved by using a map
  // https://github.com/goreleaser/goreleaser/pull/522#discussion_r164245014