summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliv <mokou@fastmail.com>2023-09-28 11:03:08 +0200
committerGitHub <noreply@github.com>2023-09-28 11:03:08 +0200
commit3bfd857a27281b4e288e506a18e3e551e31b591a (patch)
tree42b158c1647d7fceec204add3f2b8f8469302349
parentc03bc1ec3ea952ac46501966da8ca4895c1f0fc9 (diff)
parentcc658eb28840e63f69f89c8562bbf10333461355 (diff)
Merge pull request #1696 from docwilco/docwilco/fix-spawn-windows-debugging
fix(cli): make debugging in windows work
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index a4b764d..89bd444 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -396,6 +396,8 @@ fn rustc_exists() -> bool {
Command::new("rustc")
.args(["--version"])
.stdout(Stdio::null())
+ .stderr(Stdio::null())
+ .stdin(Stdio::null())
.spawn()
.and_then(|mut child| child.wait())
.map(|status| status.success())