Skip to content

Commit 3bfd857

Browse files
authored
Merge pull request #1696 from docwilco/docwilco/fix-spawn-windows-debugging
fix(cli): make debugging in windows work
2 parents c03bc1e + cc658eb commit 3bfd857

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,8 @@ fn rustc_exists() -> bool {
396396
Command::new("rustc")
397397
.args(["--version"])
398398
.stdout(Stdio::null())
399+
.stderr(Stdio::null())
400+
.stdin(Stdio::null())
399401
.spawn()
400402
.and_then(|mut child| child.wait())
401403
.map(|status| status.success())

0 commit comments

Comments
 (0)