Skip to content

Commit

Permalink
Merge #8927
Browse files Browse the repository at this point in the history
8927: internal: try enabling debug info for releases r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
  • Loading branch information
bors[bot] and matklad authored May 22, 2021
2 parents 5b6fa95 + db39398 commit 787caa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xtask/src/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 787caa3

Please sign in to comment.