diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-01-23 19:54:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-23 19:54:26 +0100 |
| commit | 36da4ecd833a6d883298d32106a90c25df0be2a0 (patch) | |
| tree | e4e535d5a108402934d2fa302324f3a1c33ff47e /compiler/rustc_codegen_llvm/src | |
| parent | 7d31ae7f351b4aa0fcb47d1d22e04c275bef0653 (diff) | |
| parent | 44e8c4397668a5c5d1ee32048b4927ddba9fadec (diff) | |
| download | rust-36da4ecd833a6d883298d32106a90c25df0be2a0.tar.gz rust-36da4ecd833a6d883298d32106a90c25df0be2a0.zip | |
Rollup merge of #135908 - ken-matsui:remove-asm-to-obj-comment, r=compiler-errors
rustc_codegen_llvm: remove outdated asm-to-obj codegen note Remove comment about missing integrated assembler handling, which was removed in commit 02840ca.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/back/write.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/write.rs b/compiler/rustc_codegen_llvm/src/back/write.rs index 509b24dd703..4706744f353 100644 --- a/compiler/rustc_codegen_llvm/src/back/write.rs +++ b/compiler/rustc_codegen_llvm/src/back/write.rs @@ -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 = |
