aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-05-22 19:21:02 +0100
committerGitHub <[email protected]>2021-05-22 19:21:02 +0100
commit787caa3f24c47d9669afe23073175f2459b2cac4 (patch)
tree78d6c89c49a9c6616e73561fd54e193625e3c088 /xtask
parent5b6fa95699423c14c51f13a9632c2db6163c82e4 (diff)
parentdb393982ca25827f90fa512fbed92a3537021569 (diff)
Merge #8927
8927: internal: try enabling debug info for releases r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask')
-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 b6aa2f52a..4afdec69c 100644
--- a/xtask/src/dist.rs
+++ b/xtask/src/dist.rs
@@ -67,6 +67,7 @@ fn dist_client(version: &str, release_tag: &str) -> Result<()> {
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 _e = pushenv("CARGO_PROFILE_RELEASE_LTO", "true");
70 let _e = pushenv("CARGO_PROFILE_RELEASE_DEBUG", "1");
70 let target = get_target(); 71 let target = get_target();
71 if target.contains("-linux-gnu") || target.contains("-linux-musl") { 72 if target.contains("-linux-gnu") || target.contains("-linux-musl") {
72 env::set_var("CC", "clang"); 73 env::set_var("CC", "clang");