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.
xcrun
1 parent c668e9e commit e672eeeCopy full SHA for e672eee
src/lib.rs
@@ -2555,14 +2555,13 @@ impl Build {
2555
return Ok(ret.clone());
2556
}
2557
2558
- let sdk_path = self
2559
- .cmd("xcrun")
2560
- .arg("--show-sdk-path")
2561
- .arg("--sdk")
2562
- .arg(sdk)
2563
- .stderr(Stdio::inherit())
2564
- .output()?
2565
- .stdout;
+ let sdk_path = run_output(
+ self.cmd("xcrun")
+ .arg("--show-sdk-path")
+ .arg("--sdk")
+ .arg(sdk),
+ "xcrun",
+ )?;
2566
2567
let sdk_path = match String::from_utf8(sdk_path) {
2568
Ok(p) => p,
0 commit comments