about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/src
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2023-07-16 22:33:38 -0700
committerDavid Tolnay <dtolnay@gmail.com>2023-07-20 11:04:31 -0700
commitc80cbe4baedfe1ef8ea6f88f3cf2f8db06c8c399 (patch)
treec75c518e6342d8a9ffa96b34487947d39d5278d6 /compiler/rustc_driver_impl/src
parent5a60660ff8c35e2f270658900073443bbb984180 (diff)
downloadrust-c80cbe4baedfe1ef8ea6f88f3cf2f8db06c8c399.tar.gz
rust-c80cbe4baedfe1ef8ea6f88f3cf2f8db06c8c399.zip
Implement printing to file in codegen_backend.print
Diffstat (limited to 'compiler/rustc_driver_impl/src')
-rw-r--r--compiler/rustc_driver_impl/src/lib.rs2
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 => {}