about summary refs log tree commit diff
path: root/src/librustc_codegen_utils
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-09-25 13:14:43 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2019-09-25 16:57:27 -0400
commitb8a040fc5f5edc41af0ccb070239898c0c5d5484 (patch)
treebb4b0f1834eaf3ff7eba99f83d8863524cdc4873 /src/librustc_codegen_utils
parent6c2c29c43206d6e2f1091fa278d2792ea10e3659 (diff)
downloadrust-b8a040fc5f5edc41af0ccb070239898c0c5d5484.tar.gz
rust-b8a040fc5f5edc41af0ccb070239898c0c5d5484.zip
Remove tx_to_llvm_workers from TyCtxt
This can be kept within the codegen backend crates entirely
Diffstat (limited to 'src/librustc_codegen_utils')
-rw-r--r--src/librustc_codegen_utils/codegen_backend.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc_codegen_utils/codegen_backend.rs b/src/librustc_codegen_utils/codegen_backend.rs
index 262cfb1658e..2e3af8431ee 100644
--- a/src/librustc_codegen_utils/codegen_backend.rs
+++ b/src/librustc_codegen_utils/codegen_backend.rs
@@ -7,7 +7,6 @@
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
 
 use std::any::Any;
-use std::sync::mpsc;
 
 use syntax::symbol::Symbol;
 use rustc::session::Session;
@@ -36,7 +35,6 @@ pub trait CodegenBackend {
         tcx: TyCtxt<'tcx>,
         metadata: EncodedMetadata,
         need_metadata_module: bool,
-        rx: mpsc::Receiver<Box<dyn Any + Send>>,
     ) -> Box<dyn Any>;
 
     /// This is called on the returned `Box<dyn Any>` from `codegen_backend`