We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 14607ba + 08b504a commit 7ec2042Copy full SHA for 7ec2042
src/tools/rust-analyzer/xtask/src/dist.rs
@@ -101,9 +101,10 @@ fn dist_server(
101
cmd!(sh, "cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --target {target_name} {features...} --release").run()?;
102
103
let dst = Path::new("dist").join(&target.artifact_name);
104
- gzip(&target.server_path, &dst.with_extension("gz"))?;
105
if target_name.contains("-windows-") {
106
zip(&target.server_path, target.symbols_path.as_ref(), &dst.with_extension("zip"))?;
+ } else {
107
+ gzip(&target.server_path, &dst.with_extension("gz"))?;
108
}
109
110
Ok(())
0 commit comments