Skip to content

Commit c761ec1

Browse files
Introduce rustc_session crate
1 parent b7cd58c commit c761ec1

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed

Cargo.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3884,6 +3884,18 @@ dependencies = [
38843884
"syntax_pos",
38853885
]
38863886

3887+
[[package]]
3888+
name = "rustc_session"
3889+
version = "0.0.0"
3890+
dependencies = [
3891+
"log",
3892+
"rustc_data_structures",
3893+
"libserialize",
3894+
"rustc_errors",
3895+
"serialize",
3896+
"syntax_pos",
3897+
]
3898+
38873899
[[package]]
38883900
name = "rustc_target"
38893901
version = "0.0.0"

src/librustc/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ rustc_fs_util = { path = "../librustc_fs_util" }
3939
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
4040
measureme = "0.4"
4141
rustc_error_codes = { path = "../librustc_error_codes" }
42+
rustc_session = { path = "../librustc_session" }

src/librustc_session/Cargo.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_session"
4+
version = "0.0.0"
5+
edition = "2018"
6+
7+
[lib]
8+
name = "rustc_session"
9+
path = "lib.rs"
10+
11+
[dependencies]
12+
log = "0.4"
13+
rustc_errors = { path = "../librustc_errors" }
14+
rustc_serialize = { path = "../libserialize", package = "serialize" }
15+
rustc_data_structures = { path = "../librustc_data_structures" }
16+
syntax_pos = { path = "../libsyntax_pos" }

src/librustc_session/lib.rs

Whitespace-only changes.

0 commit comments

Comments
 (0)