feat(codegen): various improvements to robustness
This commit is contained in:
parent
a90bcb00c4
commit
cf98d24090
7 changed files with 344 additions and 96 deletions
|
|
@ -28,4 +28,8 @@ fn main() {
|
|||
let scopes_file = syn::parse2(resolved.codegen_scopes()).unwrap();
|
||||
let scopes_pretty = prettyplease::unparse(&scopes_file);
|
||||
fs::write(&scopes_dest, scopes_pretty).unwrap();
|
||||
|
||||
for warning in resolved.warnings.get_warnings() {
|
||||
println!("cargo:warning={}", warning);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue