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 81b4d8f commit 9664203Copy full SHA for 9664203
mbedtls-sys/build/bindgen.rs
@@ -104,7 +104,7 @@ impl super::BuildConfig {
104
if compiler.is_like_gnu() {
105
let output = compiler.to_command().args(&["--print-sysroot"]).output();
106
match output {
107
- Ok(sysroot) => {
+ Ok(sysroot) if sysroot.status.success() => {
108
let path = std::str::from_utf8(&sysroot.stdout).expect("Malformed sysroot");
109
let trimmed_path = path
110
.strip_suffix("\r\n")
0 commit comments