|
|
@ -77,8 +77,9 @@ fn check_libctru_version() -> Result<(String, String, String), Box<dyn Error>> { |
|
|
|
.output()?; |
|
|
|
.output()?; |
|
|
|
|
|
|
|
|
|
|
|
for line in String::from_utf8_lossy(&stdout).split('\n') { |
|
|
|
for line in String::from_utf8_lossy(&stdout).split('\n') { |
|
|
|
let Some((_pkg, file)) = line.split_once(char::is_whitespace) |
|
|
|
let Some((_pkg, file)) = line.split_once(char::is_whitespace) else { |
|
|
|
else { continue }; |
|
|
|
continue; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
println!("cargo:rerun-if-changed={file}"); |
|
|
|
println!("cargo:rerun-if-changed={file}"); |
|
|
|
} |
|
|
|
} |
|
|
|