about summary refs log tree commit diff
path: root/src/test/run-make/execution-engine
diff options
context:
space:
mode:
authorJeffrey Seyfried <jeffrey.seyfried@gmail.com>2016-07-11 09:42:31 +0000
committerJeffrey Seyfried <jeffrey.seyfried@gmail.com>2016-07-11 22:23:35 +0000
commit70e2845230ffeb013814c9bab08c7fe033410f03 (patch)
tree34d8f92c6c8902230d3c69ecc612bfd41dfb4388 /src/test/run-make/execution-engine
parent1eb6d0b485acc5f6e0d9f9b0946000bce12f5bfc (diff)
downloadrust-70e2845230ffeb013814c9bab08c7fe033410f03.tar.gz
rust-70e2845230ffeb013814c9bab08c7fe033410f03.zip
Avoid passing around the thread-local interner in `librustc_metadata`.
Diffstat (limited to 'src/test/run-make/execution-engine')
-rw-r--r--src/test/run-make/execution-engine/test.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/run-make/execution-engine/test.rs b/src/test/run-make/execution-engine/test.rs
index 21e1463b6ef..2e90b518432 100644
--- a/src/test/run-make/execution-engine/test.rs
+++ b/src/test/run-make/execution-engine/test.rs
@@ -30,18 +30,16 @@ use std::thread::Builder;
 
 use rustc::dep_graph::DepGraph;
 use rustc::hir::map as ast_map;
-use rustc::middle::cstore::{CrateStore, LinkagePreference};
+use rustc::middle::cstore::LinkagePreference;
 use rustc::ty;
 use rustc::session::config::{self, basic_options, build_configuration, Input, Options};
 use rustc::session::build_session;
 use rustc_driver::{driver, abort_on_err};
 use rustc_resolve::MakeGlobMap;
-use rustc_metadata::creader::read_local_crates;
 use rustc_metadata::cstore::CStore;
 use libc::c_void;
 
 use rustc_errors::registry::Registry;
-use syntax::parse::token;
 
 fn main() {
     // Currently trips an assertion on i686-msvc, presumably because the support
@@ -226,7 +224,7 @@ fn compile_program(input: &str, sysroot: PathBuf)
     let handle = thread.spawn(move || {
         let opts = build_exec_options(sysroot);
         let dep_graph = DepGraph::new(opts.build_dep_graph());
-        let cstore = Rc::new(CStore::new(&dep_graph, token::get_ident_interner()));
+        let cstore = Rc::new(CStore::new(&dep_graph));
         let sess = build_session(opts,
                                  &dep_graph,
                                  None,