Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit c54ce49

Browse files
committed
Remove unused ModuleConfig::emit_lto_bc field.
1 parent f509b26 commit c54ce49

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/librustc_codegen_ssa/back/write.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ pub struct ModuleConfig {
7474
pub emit_no_opt_bc: bool,
7575
pub emit_bc: bool,
7676
pub emit_bc_compressed: bool,
77-
pub emit_lto_bc: bool,
7877
pub emit_ir: bool,
7978
pub emit_asm: bool,
8079
pub emit_obj: bool,
@@ -116,7 +115,6 @@ impl ModuleConfig {
116115
emit_pre_lto_bc: false,
117116
emit_bc: false,
118117
emit_bc_compressed: false,
119-
emit_lto_bc: false,
120118
emit_ir: false,
121119
emit_asm: false,
122120
emit_obj: false,
@@ -381,7 +379,6 @@ pub fn start_async_codegen<B: ExtraBackendMethods>(
381379
modules_config.emit_no_opt_bc = true;
382380
modules_config.emit_pre_lto_bc = true;
383381
modules_config.emit_bc = true;
384-
modules_config.emit_lto_bc = true;
385382
metadata_config.emit_bc = true;
386383
allocator_config.emit_bc = true;
387384
}

0 commit comments

Comments
 (0)