We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d095a30 commit b932ed1Copy full SHA for b932ed1
src/project.rs
@@ -4,7 +4,7 @@ use serde::{Deserialize, Serialize};
4
use std::env;
5
use std::error::Error;
6
use std::path::PathBuf;
7
-use std::process::Command;
+use std::process::{Command, Stdio};
8
9
/// Contains the structure of resulting rust-project.json file
10
/// and functions to build the data required to create the file
@@ -35,6 +35,7 @@ impl RustAnalyzerProject {
35
let toolchain = Command::new("rustc")
36
.arg("--print")
37
.arg("sysroot")
38
+ .stderr(Stdio::inherit())
39
.output()
40
.context("Failed to get the sysroot from `rustc`. Do you have `rustc` installed?")?
41
.stdout;
0 commit comments