aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/dist.rs
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/dist.rs')
-rw-r--r--xtask/src/dist.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs
index 12a7fea1e..b6aa2f52a 100644
--- a/xtask/src/dist.rs
+++ b/xtask/src/dist.rs
@@ -66,6 +66,7 @@ fn dist_client(version: &str, release_tag: &str) -> Result<()> {
66 66
67fn dist_server(release_channel: &str) -> Result<()> { 67fn dist_server(release_channel: &str) -> Result<()> {
68 let _e = pushenv("RUST_ANALYZER_CHANNEL", release_channel); 68 let _e = pushenv("RUST_ANALYZER_CHANNEL", release_channel);
69 let _e = pushenv("CARGO_PROFILE_RELEASE_LTO", "true");
69 let target = get_target(); 70 let target = get_target();
70 if target.contains("-linux-gnu") || target.contains("-linux-musl") { 71 if target.contains("-linux-gnu") || target.contains("-linux-musl") {
71 env::set_var("CC", "clang"); 72 env::set_var("CC", "clang");