about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-05-29 17:37:38 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-06-04 13:20:05 +0200
commite30490d5b2e03e8e324c336dc2daf3c5fc1cbf59 (patch)
tree8bc29bbed22f3d4b56136b73fb09dddab8222243 /compiler/rustc_codegen_llvm/src
parent96247017fad9b216259cfa64a7762a816854dcd7 (diff)
downloadrust-e30490d5b2e03e8e324c336dc2daf3c5fc1cbf59.tar.gz
rust-e30490d5b2e03e8e324c336dc2daf3c5fc1cbf59.zip
Move crate_name field from OngoingCodegen to CrateInfo
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs
index 1ee7f214c7c..776cb2ee99b 100644
--- a/compiler/rustc_codegen_llvm/src/lib.rs
+++ b/compiler/rustc_codegen_llvm/src/lib.rs
@@ -297,7 +297,7 @@ impl CodegenBackend for LlvmCodegenBackend {
             sess,
             &codegen_results,
             outputs,
-            &codegen_results.crate_name.as_str(),
+            &codegen_results.crate_info.local_crate_name.as_str(),
         );
 
         Ok(())