mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
Add fixme for removing LlvmArchiveBuilder in the future
This commit is contained in:
parent
c1f5350df5
commit
d63a067bfd
@ -106,6 +106,10 @@ pub struct LlvmArchiveBuilderBuilder;
|
|||||||
|
|
||||||
impl ArchiveBuilderBuilder for LlvmArchiveBuilderBuilder {
|
impl ArchiveBuilderBuilder for LlvmArchiveBuilderBuilder {
|
||||||
fn new_archive_builder<'a>(&self, sess: &'a Session) -> Box<dyn ArchiveBuilder + 'a> {
|
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 {
|
if false {
|
||||||
Box::new(LlvmArchiveBuilder { sess, additions: Vec::new() })
|
Box::new(LlvmArchiveBuilder { sess, additions: Vec::new() })
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user