diff options
| author | David Tolnay <dtolnay@gmail.com> | 2023-07-16 22:33:38 -0700 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2023-07-20 11:04:31 -0700 |
| commit | c80cbe4baedfe1ef8ea6f88f3cf2f8db06c8c399 (patch) | |
| tree | c75c518e6342d8a9ffa96b34487947d39d5278d6 /compiler/rustc_driver_impl/src/lib.rs | |
| parent | 5a60660ff8c35e2f270658900073443bbb984180 (diff) | |
| download | rust-c80cbe4baedfe1ef8ea6f88f3cf2f8db06c8c399.tar.gz rust-c80cbe4baedfe1ef8ea6f88f3cf2f8db06c8c399.zip | |
Implement printing to file in codegen_backend.print
Diffstat (limited to 'compiler/rustc_driver_impl/src/lib.rs')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index a1731020632..9e1d7499a35 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -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 => {} |
