Skip to content

Commit

Permalink
Stop producing .gz artifacts for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola committed Oct 25, 2024
1 parent 0a8ebdf commit 08b504a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/rust-analyzer/xtask/src/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down

0 comments on commit 08b504a

Please sign in to comment.