mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
Collect warnings to print them
This commit is contained in:
parent
b49eff2460
commit
c3bfe83f6b
|
@ -25,5 +25,11 @@ fn main() {
|
|||
String::from_utf8_lossy(&out.stderr)
|
||||
);
|
||||
|
||||
for warning_line in String::from_utf8_lossy(&out.stderr).split('\n') {
|
||||
if !warning_line.is_empty() {
|
||||
println!("cargo:warning={}", warning_line);
|
||||
}
|
||||
}
|
||||
|
||||
println!("cargo:rustc-link-search={}", out_dir);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue