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 46b48f6 commit 1818096Copy full SHA for 1818096
src/cargo/util/rustc.rs
@@ -80,14 +80,7 @@ impl Rustc {
80
81
/// Gets a process builder set up to use the found rustc version, with a wrapper if `Some`.
82
pub fn process(&self) -> ProcessBuilder {
83
- match self.wrapper {
84
- Some(ref wrapper) if !wrapper.get_program().is_empty() => {
85
- let mut cmd = wrapper.clone();
86
- cmd.arg(&self.path);
87
- cmd
88
- }
89
- _ => self.process_no_wrapper(),
90
+ self.process_with(&self.path)
91
}
92
93
pub fn process_no_wrapper(&self) -> ProcessBuilder {
0 commit comments