From db393982ca25827f90fa512fbed92a3537021569 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 22 May 2021 21:19:48 +0300 Subject: 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! --- xtask/src/dist.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'xtask/src') 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<()> { fn dist_server(release_channel: &str) -> Result<()> { let _e = pushenv("RUST_ANALYZER_CHANNEL", release_channel); let _e = pushenv("CARGO_PROFILE_RELEASE_LTO", "true"); + let _e = pushenv("CARGO_PROFILE_RELEASE_DEBUG", "1"); let target = get_target(); if target.contains("-linux-gnu") || target.contains("-linux-musl") { env::set_var("CC", "clang"); -- cgit v1.2.3