From 9f9c4bf3de79ea22bd122574654d5f9f2066c3f9 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 23 May 2021 14:06:25 +0300 Subject: internal: disable debug symbols due to failing windows build See https://github.com/rust-lang/rust/issues/85598 --- xtask/src/dist.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'xtask') 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<()> { 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"); + + // We want do enable debug symbols, but this causes our windows CI to fail: + // https://github.com/rust-lang/rust/issues/85598 + // + // 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