diff options
author | Aleksey Kladov <[email protected]> | 2021-05-23 12:06:25 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-05-23 12:06:25 +0100 |
commit | 9f9c4bf3de79ea22bd122574654d5f9f2066c3f9 (patch) | |
tree | 8d41daa6ad88fcc412cdda650ce5f9752af5da30 | |
parent | 808ebe4b865176dcc394ea4adcb3a24f60955734 (diff) |
internal: disable debug symbols due to failing windows build
See https://github.com/rust-lang/rust/issues/85598
-rw-r--r-- | xtask/src/dist.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index 4212f90ca..270719de7 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs | |||
@@ -67,7 +67,12 @@ 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 | |
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 | let target = get_target(); | 76 | let target = get_target(); |
72 | if target.contains("-linux-gnu") || target.contains("-linux-musl") { | 77 | if target.contains("-linux-gnu") || target.contains("-linux-musl") { |
73 | env::set_var("CC", "clang"); | 78 | env::set_var("CC", "clang"); |