mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
63 lines
2.4 KiB
TOML
63 lines
2.4 KiB
TOML
[package]
|
|
name = "rustc_interface"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
libloading = "0.7.1"
|
|
tracing = "0.1"
|
|
rustc-rayon-core = { version = "0.4.0", optional = true }
|
|
rayon = { version = "0.4.0", package = "rustc-rayon", optional = true }
|
|
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
|
|
rustc_ast = { path = "../rustc_ast" }
|
|
rustc_attr = { path = "../rustc_attr" }
|
|
rustc_borrowck = { path = "../rustc_borrowck" }
|
|
rustc_builtin_macros = { path = "../rustc_builtin_macros" }
|
|
rustc_expand = { path = "../rustc_expand" }
|
|
rustc_parse = { path = "../rustc_parse" }
|
|
rustc_session = { path = "../rustc_session" }
|
|
rustc_span = { path = "../rustc_span" }
|
|
rustc_serialize = { path = "../rustc_serialize" }
|
|
rustc_middle = { path = "../rustc_middle" }
|
|
rustc_ast_lowering = { path = "../rustc_ast_lowering" }
|
|
rustc_ast_passes = { path = "../rustc_ast_passes" }
|
|
rustc_incremental = { path = "../rustc_incremental" }
|
|
rustc_traits = { path = "../rustc_traits" }
|
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
|
rustc_codegen_ssa = { path = "../rustc_codegen_ssa" }
|
|
rustc_symbol_mangling = { path = "../rustc_symbol_mangling" }
|
|
rustc_codegen_llvm = { path = "../rustc_codegen_llvm", optional = true }
|
|
rustc_hir = { path = "../rustc_hir" }
|
|
rustc_metadata = { path = "../rustc_metadata" }
|
|
rustc_const_eval = { path = "../rustc_const_eval" }
|
|
rustc_mir_build = { path = "../rustc_mir_build" }
|
|
rustc_mir_transform = { path = "../rustc_mir_transform" }
|
|
rustc_monomorphize = { path = "../rustc_monomorphize" }
|
|
rustc_passes = { path = "../rustc_passes" }
|
|
rustc_typeck = { path = "../rustc_typeck" }
|
|
rustc_lint = { path = "../rustc_lint" }
|
|
rustc_errors = { path = "../rustc_errors" }
|
|
rustc_plugin_impl = { path = "../rustc_plugin_impl" }
|
|
rustc_privacy = { path = "../rustc_privacy" }
|
|
rustc_query_impl = { path = "../rustc_query_impl" }
|
|
rustc_resolve = { path = "../rustc_resolve" }
|
|
rustc_trait_selection = { path = "../rustc_trait_selection" }
|
|
rustc_ty_utils = { path = "../rustc_ty_utils" }
|
|
tempfile = "3.2"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = ["libloaderapi"] }
|
|
|
|
[dev-dependencies]
|
|
rustc_target = { path = "../rustc_target" }
|
|
|
|
[features]
|
|
llvm = ['rustc_codegen_llvm']
|
|
rustc_use_parallel_compiler = ['rayon', 'rustc-rayon-core', 'rustc_query_impl/rustc_use_parallel_compiler']
|