Skip to content

Commit fb9a5ad

Browse files
rleungxtopecongiro
authored andcommitted
add rustc_target to dependencies (#2660)
1 parent d19fc45 commit fb9a5ad

File tree

5 files changed

+47
-27
lines changed

5 files changed

+47
-27
lines changed

Diff for: Cargo.lock

+40-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ env_logger = "0.5"
4646
getopts = "0.2"
4747
derive-new = "0.5"
4848
cargo_metadata = "0.5.1"
49-
rustc-ap-syntax = "110.0.0"
49+
rustc-ap-rustc_target = "113.0.0"
50+
rustc-ap-syntax = "113.0.0"
5051
failure = "0.1.1"
5152

5253
[dev-dependencies]

Diff for: src/items.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ use std::cmp::{min, Ordering};
1515

1616
use config::lists::*;
1717
use regex::Regex;
18+
use rustc_target::spec::abi;
1819
use syntax::codemap::{self, BytePos, Span};
1920
use syntax::visit;
20-
use syntax::{abi, ast, ptr, symbol};
21+
use syntax::{ast, ptr, symbol};
2122

2223
use codemap::{LineRangeUtils, SpanUtils};
2324
use comment::{combine_strs_with_missing_comments, contains_comment, recover_comment_removed,

Diff for: src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ extern crate lazy_static;
2929
#[macro_use]
3030
extern crate log;
3131
extern crate regex;
32+
extern crate rustc_target;
3233
extern crate serde;
3334
#[macro_use]
3435
extern crate serde_derive;

Diff for: src/utils.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010

1111
use std::borrow::Cow;
1212

13+
use rustc_target::spec::abi;
1314
use syntax::ast::{self, Attribute, CrateSugar, MetaItem, MetaItemKind, NestedMetaItem,
1415
NestedMetaItemKind, Path, Visibility, VisibilityKind};
1516
use syntax::codemap::{BytePos, Span, NO_EXPANSION};
16-
use syntax::{abi, ptr};
17+
use syntax::ptr;
1718

1819
use config::Color;
1920
use rewrite::RewriteContext;

0 commit comments

Comments
 (0)