aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-05-22 19:19:48 +0100
committerAleksey Kladov <[email protected]>2021-05-22 19:19:48 +0100
commitdb393982ca25827f90fa512fbed92a3537021569 (patch)
tree78d6c89c49a9c6616e73561fd54e193625e3c088 /xtask/src
parent5b6fa95699423c14c51f13a9632c2db6163c82e4 (diff)
internal: try enabling debug info for releases
We now compress releases, so let's check if debug info is light enough to actually ship to users. Getting line numbers back would be helpful!
Diffstat (limited to 'xtask/src')
-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");