From 58ab3cc4edac8d477020b9a7a0214cb143711714 Mon Sep 17 00:00:00 2001 From: WANG Rui Date: Tue, 23 Jul 2024 18:59:08 +0800 Subject: [PATCH] build-manifest: Allow building manifests for formats that only have xz compression --- src/tools/build-manifest/src/manifest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/build-manifest/src/manifest.rs b/src/tools/build-manifest/src/manifest.rs index a9f19d8e5653f..6fa4f83e41543 100644 --- a/src/tools/build-manifest/src/manifest.rs +++ b/src/tools/build-manifest/src/manifest.rs @@ -88,7 +88,7 @@ impl Target { let gz = tarball_variant(builder, &base_path, "gz"); let xz = tarball_variant(builder, &base_path, "xz"); - if gz.is_none() { + if gz.is_none() && xz.is_none() { return Self::unavailable(); }