Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
debugger: Fix the terminal popping up when the Rust debugger starts on Windows (#35125)
devjasperwang5e2da042efd6
diff --git a/crates/project/src/debugger/locators/cargo.rs b/crates/project/src/debugger/locators/cargo.rsindex 7d703713801..fa265dae586 100644--- a/crates/project/src/debugger/locators/cargo.rs+++ b/crates/project/src/debugger/locators/cargo.rs@@ -128,7 +128,7 @@ impl DapLocator for CargoLocator {.chain(Some("--message-format=json".to_owned())).collect(),);- let mut child = Command::new(program)+ let mut child = util::command::new_smol_command(program).args(args).envs(build_config.env.iter().map(|(k, v)| (k.clone(), v.clone()))).current_dir(cwd)