Skip to content

Commit db1acaa

Browse files
committedAug 10, 2018
Auto merge of #53073 - Mark-Simulacrum:data-structures, r=pnkfelix
Cleanup to librustc::session and related code No functional changes, just some cleanup. This also creates the `rustc_fs_util` crate, but I can remove that change if desired. It felt a little odd to force crates to depend on librustc for some fs utilities; and also seemed good to generally keep the size of librustc lower (for compile times); fs_util will compile in parallel with essentially the first crate since it has no dependencies beyond std.
2 parents fb65d75 + a8e19be commit db1acaa

File tree

42 files changed

+185
-169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+185
-169
lines changed
 

‎src/Cargo.lock

+6
Original file line numberDiff line numberDiff line change
@@ -1887,6 +1887,7 @@ dependencies = [
18871887
"rustc_apfloat 0.0.0",
18881888
"rustc_data_structures 0.0.0",
18891889
"rustc_errors 0.0.0",
1890+
"rustc_fs_util 0.0.0",
18901891
"rustc_target 0.0.0",
18911892
"scoped-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
18921893
"serialize 0.0.0",
@@ -2185,6 +2186,10 @@ dependencies = [
21852186
"unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
21862187
]
21872188

2189+
[[package]]
2190+
name = "rustc_fs_util"
2191+
version = "0.0.0"
2192+
21882193
[[package]]
21892194
name = "rustc_incremental"
21902195
version = "0.0.0"
@@ -2194,6 +2199,7 @@ dependencies = [
21942199
"rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
21952200
"rustc 0.0.0",
21962201
"rustc_data_structures 0.0.0",
2202+
"rustc_fs_util 0.0.0",
21972203
"serialize 0.0.0",
21982204
"syntax 0.0.0",
21992205
"syntax_pos 0.0.0",

‎src/librustc/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ backtrace = "0.3.3"
3232
parking_lot = "0.5.5"
3333
byteorder = { version = "1.1", features = ["i128"]}
3434
chalk-engine = { version = "0.6.0", default-features=false }
35+
rustc_fs_util = { path = "../librustc_fs_util" }
3536

3637
# Note that these dependencies are a lie, they're just here to get linkage to
3738
# work.

0 commit comments

Comments
 (0)
Please sign in to comment.