1
Fork 0

rustc, rustc_passes: don't depend on syntax_expand.

This is done by moving some data definitions to syntax::expand.
This commit is contained in:
Mazdak Farrokhzad 2019-10-09 16:47:38 +02:00
parent 16329402bf
commit fb12c70852
50 changed files with 94 additions and 91 deletions

View file

@ -39,7 +39,6 @@ extern crate rustc_driver as _;
#[macro_use] extern crate log;
extern crate syntax;
extern crate syntax_expand;
extern crate syntax_pos;
extern crate rustc_errors as errors;
@ -49,7 +48,7 @@ use rustc_codegen_ssa::back::lto::{SerializedModule, LtoModuleCodegen, ThinModul
use rustc_codegen_ssa::CompiledModule;
use errors::{FatalError, Handler};
use rustc::dep_graph::WorkProduct;
use syntax_expand::allocator::AllocatorKind;
use syntax::expand::allocator::AllocatorKind;
pub use llvm_util::target_features;
use std::any::Any;
use std::sync::Arc;