Cargo.toml 1.5 KB
Newer Older
1 2 3 4
[package]
authors = ["The Rust Project Developers"]
name = "rustc_driver"
version = "0.0.0"
T
Taiki Endo 已提交
5
edition = "2018"
6 7 8 9 10 11 12

[lib]
name = "rustc_driver"
path = "lib.rs"
crate-type = ["dylib"]

[dependencies]
13
lazy_static = "1.0"
14
log = "0.4"
M
Mateusz Mikuła 已提交
15
env_logger = { version = "0.7", default-features = false }
16
rustc = { path = "../librustc" }
17
rustc_ast_pretty = { path = "../librustc_ast_pretty" }
18
rustc_target = { path = "../librustc_target" }
19
rustc_lint = { path = "../librustc_lint" }
20
rustc_data_structures = { path = "../librustc_data_structures" }
21
rustc_errors = { path = "../librustc_errors" }
22
rustc_feature = { path = "../librustc_feature" }
23
rustc_hir = { path = "../librustc_hir" }
24
rustc_hir_pretty = { path = "../librustc_hir_pretty" }
25
rustc_metadata = { path = "../librustc_metadata" }
26
rustc_mir = { path = "../librustc_mir" }
27
rustc_parse = { path = "../librustc_parse" }
28
rustc_plugin_impl = { path = "../librustc_plugin_impl" }
29
rustc_save_analysis = { path = "../librustc_save_analysis" }
V
Victor Ding 已提交
30
rustc_codegen_ssa = { path = "../librustc_codegen_ssa" }
31
rustc_session = { path = "../librustc_session" }
32
rustc_error_codes = { path = "../librustc_error_codes" }
33
rustc_interface = { path = "../librustc_interface" }
34
rustc_serialize = { path = "../libserialize", package = "serialize" }
35
rustc_ast = { path = "../librustc_ast" }
36
rustc_span = { path = "../librustc_span" }
37

38 39 40
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["consoleapi", "debugapi", "processenv"] }

41 42
[features]
llvm = ['rustc_interface/llvm']