Introduce rustc_session crate
This commit is contained in:
parent
b7cd58c00e
commit
c761ec1ac9
4 changed files with 29 additions and 0 deletions
12
Cargo.lock
12
Cargo.lock
|
@ -3884,6 +3884,18 @@ dependencies = [
|
||||||
"syntax_pos",
|
"syntax_pos",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "rustc_session"
|
||||||
|
version = "0.0.0"
|
||||||
|
dependencies = [
|
||||||
|
"log",
|
||||||
|
"rustc_data_structures",
|
||||||
|
"libserialize",
|
||||||
|
"rustc_errors",
|
||||||
|
"serialize",
|
||||||
|
"syntax_pos",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustc_target"
|
name = "rustc_target"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
|
|
|
@ -39,3 +39,4 @@ rustc_fs_util = { path = "../librustc_fs_util" }
|
||||||
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
|
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
|
||||||
measureme = "0.4"
|
measureme = "0.4"
|
||||||
rustc_error_codes = { path = "../librustc_error_codes" }
|
rustc_error_codes = { path = "../librustc_error_codes" }
|
||||||
|
rustc_session = { path = "../librustc_session" }
|
||||||
|
|
16
src/librustc_session/Cargo.toml
Normal file
16
src/librustc_session/Cargo.toml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
[package]
|
||||||
|
authors = ["The Rust Project Developers"]
|
||||||
|
name = "rustc_session"
|
||||||
|
version = "0.0.0"
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
name = "rustc_session"
|
||||||
|
path = "lib.rs"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
log = "0.4"
|
||||||
|
rustc_errors = { path = "../librustc_errors" }
|
||||||
|
rustc_serialize = { path = "../libserialize", package = "serialize" }
|
||||||
|
rustc_data_structures = { path = "../librustc_data_structures" }
|
||||||
|
syntax_pos = { path = "../libsyntax_pos" }
|
0
src/librustc_session/lib.rs
Normal file
0
src/librustc_session/lib.rs
Normal file
Loading…
Add table
Reference in a new issue