]> git.lizzy.rs Git - rust.git/commitdiff
proc_macro: add ability to log to stderr and view output in vscode
authorveetaha <veetaha2@gmail.com>
Wed, 22 Apr 2020 22:57:02 +0000 (01:57 +0300)
committerveetaha <veetaha2@gmail.com>
Wed, 22 Apr 2020 22:57:02 +0000 (01:57 +0300)
crates/ra_proc_macro/src/process.rs

index 673f80a7ab02aed8aedb0c79bbe14194cf60de00..5bcdacb487204bdd604cbf2d9b889dfff5ec94b6 100644 (file)
@@ -189,7 +189,7 @@ fn mk_child(path: &Path, args: impl IntoIterator<Item = impl AsRef<OsStr>>) -> i
         .args(args)
         .stdin(Stdio::piped())
         .stdout(Stdio::piped())
-        .stderr(Stdio::null())
+        .stderr(Stdio::inherit())
         .spawn()
 }