Skip to content

Commit

Permalink
Remove unused ModuleConfig::emit_lto_bc field.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Mar 19, 2020
1 parent f509b26 commit c54ce49
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/librustc_codegen_ssa/back/write.rs
Expand Up @@ -74,7 +74,6 @@ pub struct ModuleConfig {
pub emit_no_opt_bc: bool,
pub emit_bc: bool,
pub emit_bc_compressed: bool,
pub emit_lto_bc: bool,
pub emit_ir: bool,
pub emit_asm: bool,
pub emit_obj: bool,
Expand Down Expand Up @@ -116,7 +115,6 @@ impl ModuleConfig {
emit_pre_lto_bc: false,
emit_bc: false,
emit_bc_compressed: false,
emit_lto_bc: false,
emit_ir: false,
emit_asm: false,
emit_obj: false,
Expand Down Expand Up @@ -381,7 +379,6 @@ pub fn start_async_codegen<B: ExtraBackendMethods>(
modules_config.emit_no_opt_bc = true;
modules_config.emit_pre_lto_bc = true;
modules_config.emit_bc = true;
modules_config.emit_lto_bc = true;
metadata_config.emit_bc = true;
allocator_config.emit_bc = true;
}
Expand Down

0 comments on commit c54ce49

Please sign in to comment.