about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@users.noreply.github.com>2024-10-28 10:11:29 +0000
committerGitHub <noreply@github.com>2024-10-28 10:11:29 +0000
commit7ec20428cb2806d1e512574ab3bd9094c2f5d429 (patch)
tree5f81fc61b2324ab9976d5d78ddd701c1c156acac /src
parent14607bae1d7fccf3ac1050b61d220c004a1f7de5 (diff)
parent08b504ae8fb5adfbe4df23f80d87bbc2b42c52cb (diff)
downloadrust-7ec20428cb2806d1e512574ab3bd9094c2f5d429.tar.gz
rust-7ec20428cb2806d1e512574ab3bd9094c2f5d429.zip
Merge pull request #18412 from lnicola/windows-no-gz
internal: Stop producing .gz artifacts for Windows
Diffstat (limited to 'src')
-rw-r--r--src/tools/rust-analyzer/xtask/src/dist.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/xtask/src/dist.rs b/src/tools/rust-analyzer/xtask/src/dist.rs
index 742cf7f609a..c6a0be8aeb9 100644
--- a/src/tools/rust-analyzer/xtask/src/dist.rs
+++ b/src/tools/rust-analyzer/xtask/src/dist.rs
@@ -101,9 +101,10 @@ fn dist_server(
     cmd!(sh, "cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --target {target_name} {features...} --release").run()?;
 
     let dst = Path::new("dist").join(&target.artifact_name);
-    gzip(&target.server_path, &dst.with_extension("gz"))?;
     if target_name.contains("-windows-") {
         zip(&target.server_path, target.symbols_path.as_ref(), &dst.with_extension("zip"))?;
+    } else {
+        gzip(&target.server_path, &dst.with_extension("gz"))?;
     }
 
     Ok(())