Skip to content

Commit

Permalink
Rollup merge of #135908 - ken-matsui:remove-asm-to-obj-comment, r=com…
Browse files Browse the repository at this point in the history
…piler-errors

rustc_codegen_llvm: remove outdated asm-to-obj codegen note

Remove comment about missing integrated assembler handling, which was removed in commit 02840ca.
  • Loading branch information
matthiaskrgr authored Jan 23, 2025
2 parents 7d31ae7 + 44e8c43 commit 36da4ec
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions compiler/rustc_codegen_llvm/src/back/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -769,12 +769,9 @@ pub(crate) unsafe fn codegen(
}
}

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

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

0 comments on commit 36da4ec

Please sign in to comment.