From: bors Date: Mon, 5 Nov 2018 01:41:55 +0000 (+0000) Subject: Auto merge of #55593 - nikic:remove-llvm-4-checks, r=rkruppe X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=0117b42f66632f1f0fc08f1cdd8ca264c10bba94;p=rust.git Auto merge of #55593 - nikic:remove-llvm-4-checks, r=rkruppe Remove checks for LLVM < 4.0 While we still have to support LLVM 4.0 for Emscripten, we can drop checks for LLVM >= 4.0 and < 4.0. --- 0117b42f66632f1f0fc08f1cdd8ca264c10bba94 diff --cc src/librustc_codegen_llvm/back/write.rs index a88ce69604b,dabfa4c540b..d04e80195f0 --- a/src/librustc_codegen_llvm/back/write.rs +++ b/src/librustc_codegen_llvm/back/write.rs @@@ -10,8 -10,11 +10,8 @@@ use attributes; use back::bytecode::{self, RLIB_BYTECODE_EXTENSION}; - use back::lto::{self, ModuleBuffer, ThinBuffer, SerializedModule}; + use back::lto::{self, ThinBuffer, SerializedModule}; use back::link::{self, get_linker, remove}; -use back::command::Command; -use back::linker::LinkerInfo; -use back::symbol_export::ExportedSymbols; use base; use consts; use memmap;