proc_macro: add ability to log to stderr and view output in vscode

This commit is contained in:
veetaha 2020-04-23 01:57:02 +03:00
parent 3f1f3a835a
commit b5620341fc

View file

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