about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-27 16:05:22 +0000
committerbors <bors@rust-lang.org>2024-07-27 16:05:22 +0000
commitd9e1dea75e0f57d489068460ef32127e291a07c4 (patch)
treeb11e484ff659ee5634dc4bd43a21552eb664c251
parent8fe0c753f23e7050b87a444b6622caf4d2272d5d (diff)
parent58ab3cc4edac8d477020b9a7a0214cb143711714 (diff)
downloadrust-d9e1dea75e0f57d489068460ef32127e291a07c4.tar.gz
rust-d9e1dea75e0f57d489068460ef32127e291a07c4.zip
Auto merge of #128091 - heiher:xz-only, r=Mark-Simulacrum
build-manifest: Allow building manifests for formats that only have xz compression
-rw-r--r--src/tools/build-manifest/src/manifest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/build-manifest/src/manifest.rs b/src/tools/build-manifest/src/manifest.rs
index a9f19d8e565..6fa4f83e415 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();
         }