aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/bin/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rust-analyzer/src/bin/main.rs')
-rw-r--r--crates/rust-analyzer/src/bin/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/bin/main.rs b/crates/rust-analyzer/src/bin/main.rs
index 80637cbff..8f8939863 100644
--- a/crates/rust-analyzer/src/bin/main.rs
+++ b/crates/rust-analyzer/src/bin/main.rs
@@ -29,6 +29,8 @@ fn main() {
29 29
30fn try_main() -> Result<()> { 30fn try_main() -> Result<()> {
31 let args = args::Args::parse()?; 31 let args = args::Args::parse()?;
32
33 #[cfg(debug_assertions)]
32 if args.wait_dbg || env::var("RA_WAIT_DBG").is_ok() { 34 if args.wait_dbg || env::var("RA_WAIT_DBG").is_ok() {
33 #[allow(unused_mut)] 35 #[allow(unused_mut)]
34 let mut d = 4; 36 let mut d = 4;