diff options
author | Aleksey Kladov <[email protected]> | 2021-05-22 19:19:48 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-05-22 19:19:48 +0100 |
commit | db393982ca25827f90fa512fbed92a3537021569 (patch) | |
tree | 78d6c89c49a9c6616e73561fd54e193625e3c088 /xtask | |
parent | 5b6fa95699423c14c51f13a9632c2db6163c82e4 (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')
-rw-r--r-- | xtask/src/dist.rs | 1 |
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<()> { | |||
67 | fn dist_server(release_channel: &str) -> Result<()> { | 67 | fn 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"); |