Skip to content

Commit 7ec2042

Browse files
authored
Merge pull request rust-lang#18412 from lnicola/windows-no-gz
internal: Stop producing .gz artifacts for Windows
2 parents 14607ba + 08b504a commit 7ec2042

File tree

1 file changed

+2
-1
lines changed
  • src/tools/rust-analyzer/xtask/src

1 file changed

+2
-1
lines changed

src/tools/rust-analyzer/xtask/src/dist.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,10 @@ fn dist_server(
101101
cmd!(sh, "cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --target {target_name} {features...} --release").run()?;
102102

103103
let dst = Path::new("dist").join(&target.artifact_name);
104-
gzip(&target.server_path, &dst.with_extension("gz"))?;
105104
if target_name.contains("-windows-") {
106105
zip(&target.server_path, target.symbols_path.as_ref(), &dst.with_extension("zip"))?;
106+
} else {
107+
gzip(&target.server_path, &dst.with_extension("gz"))?;
107108
}
108109

109110
Ok(())

0 commit comments

Comments
 (0)