diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-08-10 17:45:39 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-08-10 17:45:39 +0000 |
| commit | c1f5350df5559709506510c1334f9664b0a171e1 (patch) | |
| tree | 021e13835fe62a4a3caee4eeee506169e7f8d76f /compiler/rustc_codegen_llvm/src | |
| parent | a57f73d32060ac27bfdb6635b98025f362598574 (diff) | |
| download | rust-c1f5350df5559709506510c1334f9664b0a171e1.tar.gz rust-c1f5350df5559709506510c1334f9664b0a171e1.zip | |
Use ArArchiveBuilder with the LLVM backend too
All regressions that were blocking usage of ArArchiveBuilder should now be fixed.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/back/archive.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/archive.rs b/compiler/rustc_codegen_llvm/src/back/archive.rs index a2ab19ac800..ce05336f071 100644 --- a/compiler/rustc_codegen_llvm/src/back/archive.rs +++ b/compiler/rustc_codegen_llvm/src/back/archive.rs @@ -106,9 +106,7 @@ pub struct LlvmArchiveBuilderBuilder; impl ArchiveBuilderBuilder for LlvmArchiveBuilderBuilder { fn new_archive_builder<'a>(&self, sess: &'a Session) -> Box<dyn ArchiveBuilder + 'a> { - // FIXME use ArArchiveBuilder on most targets again once reading thin archives is - // implemented - if true { + if false { Box::new(LlvmArchiveBuilder { sess, additions: Vec::new() }) } else { Box::new(ArArchiveBuilder::new(sess, &LLVM_OBJECT_READER)) |
