From 486c48b570fd6235c8f8ce8820b54ea25b3510a9 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Wed, 12 Aug 2020 12:03:44 -0400 Subject: [PATCH] Remove ArchiveKind::Other Also unused since introduction in #35174 --- src/librustc_codegen_llvm/llvm/ffi.rs | 3 --- src/rustllvm/ArchiveWrapper.cpp | 1 - 2 files changed, 4 deletions(-) diff --git a/src/librustc_codegen_llvm/llvm/ffi.rs b/src/librustc_codegen_llvm/llvm/ffi.rs index de547c0b1b9..f094ad86894 100644 --- a/src/librustc_codegen_llvm/llvm/ffi.rs +++ b/src/librustc_codegen_llvm/llvm/ffi.rs @@ -500,9 +500,6 @@ pub enum DiagnosticLevel { #[derive(Copy, Clone)] #[repr(C)] pub enum ArchiveKind { - // FIXME: figure out if this variant is needed at all. - #[allow(dead_code)] - Other, K_GNU, K_BSD, K_DARWIN, diff --git a/src/rustllvm/ArchiveWrapper.cpp b/src/rustllvm/ArchiveWrapper.cpp index 93704638f83..9ce614fda57 100644 --- a/src/rustllvm/ArchiveWrapper.cpp +++ b/src/rustllvm/ArchiveWrapper.cpp @@ -35,7 +35,6 @@ struct RustArchiveIterator { }; enum class LLVMRustArchiveKind { - Other, GNU, BSD, DARWIN,