about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2025-01-24 05:28:23 +0000
committerGitHub <noreply@github.com>2025-01-24 05:28:23 +0000
commitf8f5c9d64297f34a260abd882f752153e85102f3 (patch)
tree6100914717d811f3627524c0f79d4b4e8814613b /compiler/rustc_codegen_llvm/src
parente923d85be4a6ea0e4a1668ed01b27dabbbe76d68 (diff)
parentd22ba488f066532993592e01417f2612c3dbf3b3 (diff)
downloadrust-f8f5c9d64297f34a260abd882f752153e85102f3.tar.gz
rust-f8f5c9d64297f34a260abd882f752153e85102f3.zip
Merge pull request #4147 from rust-lang/rustup-2025-01-24
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/back/write.rs9
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 =