about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-08-10 18:49:36 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-08-10 18:49:36 +0000
commitd63a067bfd9d0674e637fbfc83e0cbd526fb92b5 (patch)
tree5209c3768fc404121850c4ce3d7c9b3e4f100737 /compiler/rustc_codegen_llvm/src
parentc1f5350df5559709506510c1334f9664b0a171e1 (diff)
downloadrust-d63a067bfd9d0674e637fbfc83e0cbd526fb92b5.tar.gz
rust-d63a067bfd9d0674e637fbfc83e0cbd526fb92b5.zip
Add fixme for removing LlvmArchiveBuilder in the future
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/back/archive.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/archive.rs b/compiler/rustc_codegen_llvm/src/back/archive.rs
index ce05336f071..0a8728c385c 100644
--- a/compiler/rustc_codegen_llvm/src/back/archive.rs
+++ b/compiler/rustc_codegen_llvm/src/back/archive.rs
@@ -106,6 +106,10 @@ pub struct LlvmArchiveBuilderBuilder;
 
 impl ArchiveBuilderBuilder for LlvmArchiveBuilderBuilder {
     fn new_archive_builder<'a>(&self, sess: &'a Session) -> Box<dyn ArchiveBuilder + 'a> {
+        // Keeping LlvmArchiveBuilder around in case of a regression caused by using
+        // ArArchiveBuilder.
+        // FIXME remove a couple of months after #128936 gets merged in case no
+        // regression is found.
         if false {
             Box::new(LlvmArchiveBuilder { sess, additions: Vec::new() })
         } else {