diff options
| author | bors <bors@rust-lang.org> | 2018-11-04 12:20:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-11-04 12:20:55 +0000 |
| commit | ac708826b0d97e105f91a4cde41bfe14cff032f2 (patch) | |
| tree | 8c8cc81d722920ada33dc5e97d1ad7d2bd3d6512 /src/librustc_codegen_llvm/back/write.rs | |
| parent | 86b88e6a85f4c532c58cdcdabf6050c6170628e0 (diff) | |
| parent | 9e479c2818eac337657c52791b12955002582dfd (diff) | |
| download | rust-ac708826b0d97e105f91a4cde41bfe14cff032f2.tar.gz rust-ac708826b0d97e105f91a4cde41bfe14cff032f2.zip | |
Auto merge of #55349 - bjorn3:rustc_mir_collect_and_partition_mono_items, r=oli-obk
Move collect_and_partition_mono_items to rustc_mir Most of the logic of it is inside rustc_mir anyway. Also removes the single function crate rustc_metadata_utils. Based on #55225
Diffstat (limited to 'src/librustc_codegen_llvm/back/write.rs')
| -rw-r--r-- | src/librustc_codegen_llvm/back/write.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_codegen_llvm/back/write.rs b/src/librustc_codegen_llvm/back/write.rs index b5ed256cef6..a88ce69604b 100644 --- a/src/librustc_codegen_llvm/back/write.rs +++ b/src/librustc_codegen_llvm/back/write.rs @@ -12,9 +12,6 @@ use attributes; use back::bytecode::{self, RLIB_BYTECODE_EXTENSION}; use back::lto::{self, ModuleBuffer, 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; @@ -38,6 +35,9 @@ use rustc::util::common::{time_ext, time_depth, set_time_depth, print_time_passe use rustc_fs_util::{path2cstr, link_or_copy}; use rustc_data_structures::small_c_str::SmallCStr; use rustc_data_structures::svh::Svh; +use rustc_codegen_utils::command::Command; +use rustc_codegen_utils::linker::LinkerInfo; +use rustc_codegen_utils::symbol_export::ExportedSymbols; use errors::{self, Handler, Level, DiagnosticBuilder, FatalError, DiagnosticId}; use errors::emitter::{Emitter}; use syntax::attr; |
