Skip to content

Commit 58ab3cc

Browse files
committed
build-manifest: Allow building manifests for formats that only have xz compression
1 parent 49649bf commit 58ab3cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/build-manifest/src/manifest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl Target {
8888
let gz = tarball_variant(builder, &base_path, "gz");
8989
let xz = tarball_variant(builder, &base_path, "xz");
9090

91-
if gz.is_none() {
91+
if gz.is_none() && xz.is_none() {
9292
return Self::unavailable();
9393
}
9494

0 commit comments

Comments
 (0)