diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-05-24 12:52:09 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-24 12:52:09 +0100 |
commit | 31a19148e967163ea9ebb42e341944be76ce8960 (patch) | |
tree | 494e6f21daac882944dff3236be108045656c3a2 /xtask | |
parent | ca19c63f2065f9e2d5d6178f006d909d64b9c219 (diff) | |
parent | 3ea62568bab58efe4a6abcbdd71aee1e41b1dde9 (diff) |
Merge #8962
8962: internal: try re-enabling debug info on releases again r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/dist.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index 270719de7..7ac9ae5b8 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs | |||
@@ -66,12 +66,8 @@ fn dist_client(version: &str, release_tag: &str) -> Result<()> { | |||
66 | 66 | ||
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", "thin"); |
70 | 70 | let _e = pushenv("CARGO_PROFILE_RELEASE_DEBUG", "1"); | |
71 | // We want do enable debug symbols, but this causes our windows CI to fail: | ||
72 | // https://github.com/rust-lang/rust/issues/85598 | ||
73 | // | ||
74 | // let _e = pushenv("CARGO_PROFILE_RELEASE_DEBUG", "1"); | ||
75 | 71 | ||
76 | let target = get_target(); | 72 | let target = get_target(); |
77 | if target.contains("-linux-gnu") || target.contains("-linux-musl") { | 73 | if target.contains("-linux-gnu") || target.contains("-linux-musl") { |