diff options
| author | Irina Popa <irinagpopa@gmail.com> | 2018-04-25 19:30:39 +0300 |
|---|---|---|
| committer | Irina Popa <irinagpopa@gmail.com> | 2018-04-26 17:49:16 +0300 |
| commit | 04fa0e7bb3e462080be4a6cee45fd94b1c27d287 (patch) | |
| tree | 13f3f018ba821be9c9375d5d06b3314e7994d7a1 /src/librustc_allocator | |
| parent | 030244cd4a76914af7dc2939ed1a16f394ceda48 (diff) | |
rustc_target: move in syntax::abi and flip dependency.
Diffstat (limited to 'src/librustc_allocator')
| -rw-r--r-- | src/librustc_allocator/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/librustc_allocator/expand.rs | 2 | ||||
| -rw-r--r-- | src/librustc_allocator/lib.rs | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/librustc_allocator/Cargo.toml b/src/librustc_allocator/Cargo.toml index e3d1d8e32c4..765cb80f357 100644 --- a/src/librustc_allocator/Cargo.toml +++ b/src/librustc_allocator/Cargo.toml @@ -11,5 +11,6 @@ test = false [dependencies] rustc = { path = "../librustc" } rustc_errors = { path = "../librustc_errors" } +rustc_target = { path = "../librustc_target" } syntax = { path = "../libsyntax" } syntax_pos = { path = "../libsyntax_pos" } diff --git a/src/librustc_allocator/expand.rs b/src/librustc_allocator/expand.rs index 9338d000c12..de8814d3d6a 100644 --- a/src/librustc_allocator/expand.rs +++ b/src/librustc_allocator/expand.rs @@ -10,7 +10,7 @@ use rustc::middle::allocator::AllocatorKind; use rustc_errors; -use syntax::abi::Abi; +use rustc_target::spec::abi::Abi; use syntax::ast::{Attribute, Crate, LitKind, StrStyle}; use syntax::ast::{Arg, Constness, Generics, Mac, Mutability, Ty, Unsafety}; use syntax::ast::{self, Expr, Ident, Item, ItemKind, TyKind, VisibilityKind}; diff --git a/src/librustc_allocator/lib.rs b/src/librustc_allocator/lib.rs index 969086815de..6595564fb30 100644 --- a/src/librustc_allocator/lib.rs +++ b/src/librustc_allocator/lib.rs @@ -12,6 +12,7 @@ extern crate rustc; extern crate rustc_errors; +extern crate rustc_target; extern crate syntax; extern crate syntax_pos; |
