Skip to content

Commit 44e8c43

Browse files
committed
rustc_codegen_llvm: remove outdated asm-to-obj codegen note
Remove comment about missing integrated assembler handling, which was removed in commit 02840ca.
1 parent 649b995 commit 44e8c43

File tree

1 file changed

+3
-6
lines changed
  • compiler/rustc_codegen_llvm/src/back

1 file changed

+3
-6
lines changed

compiler/rustc_codegen_llvm/src/back/write.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -769,12 +769,9 @@ pub(crate) unsafe fn codegen(
769769
}
770770
}
771771

772-
// Two things to note:
773-
// - If object files are just LLVM bitcode we write bitcode, copy it to
774-
// the .o file, and delete the bitcode if it wasn't otherwise
775-
// requested.
776-
// - If we don't have the integrated assembler then we need to emit
777-
// asm from LLVM and use `gcc` to create the object file.
772+
// Note that if object files are just LLVM bitcode we write bitcode,
773+
// copy it to the .o file, and delete the bitcode if it wasn't
774+
// otherwise requested.
778775

779776
let bc_out = cgcx.output_filenames.temp_path(OutputType::Bitcode, module_name);
780777
let bc_summary_out =

0 commit comments

Comments
 (0)