We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01c1ffd commit ad0ef0cCopy full SHA for ad0ef0c
compiler/rustc_codegen_llvm/src/back/write.rs
@@ -745,15 +745,13 @@ pub(crate) unsafe fn codegen(
745
}
746
747
if config.emit_bc || config.emit_obj == EmitObj::Bitcode {
748
- {
749
let _timer = cgcx.prof.generic_activity_with_arg(
750
"LLVM_module_codegen_emit_bitcode",
751
&*module.name,
752
);
753
if let Err(err) = fs::write(&bc_out, data) {
754
dcx.emit_err(WriteBytecode { path: &bc_out, err });
755
756
- }
757
758
759
if config.emit_obj == EmitObj::ObjectCode(BitcodeSection::Full) {
0 commit comments