1
Fork 0

Implement printing to file in codegen_backend.print

This commit is contained in:
David Tolnay 2023-07-16 22:33:38 -07:00
parent 5a60660ff8
commit c80cbe4bae
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
4 changed files with 33 additions and 14 deletions

View file

@ -834,7 +834,7 @@ fn print_crate_info(
| TargetCPUs
| StackProtectorStrategies
| TargetFeatures => {
codegen_backend.print(req, sess);
codegen_backend.print(req, &mut crate_info, sess);
}
// Any output here interferes with Cargo's parsing of other printed output
NativeStaticLibs => {}