Introduce rustc_session crate

This commit is contained in:
Mark Rousskov 2019-11-12 08:17:33 -05:00
parent b7cd58c00e
commit c761ec1ac9
4 changed files with 29 additions and 0 deletions

View file

@ -3884,6 +3884,18 @@ dependencies = [
"syntax_pos",
]
[[package]]
name = "rustc_session"
version = "0.0.0"
dependencies = [
"log",
"rustc_data_structures",
"libserialize",
"rustc_errors",
"serialize",
"syntax_pos",
]
[[package]]
name = "rustc_target"
version = "0.0.0"

View file

@ -39,3 +39,4 @@ rustc_fs_util = { path = "../librustc_fs_util" }
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
measureme = "0.4"
rustc_error_codes = { path = "../librustc_error_codes" }
rustc_session = { path = "../librustc_session" }

View 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" }

View file