diff options
| author | Augie Fackler <augie@google.com> | 2024-05-23 15:07:43 -0400 |
|---|---|---|
| committer | Augie Fackler <augie@google.com> | 2024-05-23 15:07:43 -0400 |
| commit | 3ea494190f0df0e6d1454b160419c9a72cfca5ba (patch) | |
| tree | f8fa741799390abe56eddd13f1f257c5889144d6 /compiler/rustc_codegen_ssa/src/back | |
| parent | de8200c5a441079cfaadd383a8b6897155bfa2c6 (diff) | |
| download | rust-3ea494190f0df0e6d1454b160419c9a72cfca5ba.tar.gz rust-3ea494190f0df0e6d1454b160419c9a72cfca5ba.zip | |
cleanup: standardize on summary over index in names
I did this in the user-facing logic, but I noticed while fixing a minor defect that I had missed it in a few places in the internal details.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/write.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs index 0432659d371..f112cea6c82 100644 --- a/compiler/rustc_codegen_ssa/src/back/write.rs +++ b/compiler/rustc_codegen_ssa/src/back/write.rs @@ -107,7 +107,7 @@ pub struct ModuleConfig { pub emit_asm: bool, pub emit_obj: EmitObj, pub emit_thin_lto: bool, - pub emit_thin_lto_index: bool, + pub emit_thin_lto_summary: bool, pub bc_cmdline: String, // Miscellaneous flags. These are mostly copied from command-line @@ -232,7 +232,7 @@ impl ModuleConfig { ), emit_obj, emit_thin_lto: sess.opts.unstable_opts.emit_thin_lto, - emit_thin_lto_index: if_regular!( + emit_thin_lto_summary: if_regular!( sess.opts.output_types.contains_key(&OutputType::ThinLinkBitcode), false ), @@ -287,7 +287,7 @@ impl ModuleConfig { pub fn bitcode_needed(&self) -> bool { self.emit_bc - || self.emit_thin_lto_index + || self.emit_thin_lto_summary || self.emit_obj == EmitObj::Bitcode || self.emit_obj == EmitObj::ObjectCode(BitcodeSection::Full) } |
