2020-08-27 22:58:48 -05:00
|
|
|
[package]
|
|
|
|
name = "rustc_interface"
|
|
|
|
version = "0.0.0"
|
2021-09-19 11:49:55 -05:00
|
|
|
edition = "2021"
|
2020-08-27 22:58:48 -05:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
doctest = false
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
libc = "0.2"
|
2021-11-08 17:03:55 -06:00
|
|
|
libloading = "0.7.1"
|
2020-08-27 22:58:48 -05:00
|
|
|
tracing = "0.1"
|
2022-02-11 14:25:14 -06:00
|
|
|
rustc-rayon-core = { version = "0.3.2", optional = true }
|
|
|
|
rayon = { version = "0.3.2", package = "rustc-rayon", optional = true }
|
2021-02-14 08:37:30 -06:00
|
|
|
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
|
2020-08-27 22:58:48 -05:00
|
|
|
rustc_ast = { path = "../rustc_ast" }
|
|
|
|
rustc_attr = { path = "../rustc_attr" }
|
2020-12-30 11:48:40 -06:00
|
|
|
rustc_borrowck = { path = "../rustc_borrowck" }
|
2020-08-27 22:58:48 -05:00
|
|
|
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" }
|
2021-01-05 13:08:11 -06:00
|
|
|
rustc_const_eval = { path = "../rustc_const_eval" }
|
2020-08-27 22:58:48 -05:00
|
|
|
rustc_mir_build = { path = "../rustc_mir_build" }
|
2020-12-31 18:53:25 -06:00
|
|
|
rustc_mir_transform = { path = "../rustc_mir_transform" }
|
2021-01-02 07:42:15 -06:00
|
|
|
rustc_monomorphize = { path = "../rustc_monomorphize" }
|
2020-08-27 22:58:48 -05:00
|
|
|
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" }
|
2021-01-19 13:40:16 -06:00
|
|
|
rustc_query_impl = { path = "../rustc_query_impl" }
|
2020-08-27 22:58:48 -05:00
|
|
|
rustc_resolve = { path = "../rustc_resolve" }
|
|
|
|
rustc_trait_selection = { path = "../rustc_trait_selection" }
|
2020-11-19 14:32:37 -06:00
|
|
|
rustc_ty_utils = { path = "../rustc_ty_utils" }
|
2021-04-23 17:33:09 -05:00
|
|
|
tempfile = "3.2"
|
2020-08-27 22:58:48 -05:00
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
|
|
winapi = { version = "0.3", features = ["libloaderapi"] }
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
rustc_target = { path = "../rustc_target" }
|
|
|
|
|
|
|
|
[features]
|
|
|
|
llvm = ['rustc_codegen_llvm']
|
2022-02-11 14:25:14 -06:00
|
|
|
rustc_use_parallel_compiler = ['rayon', 'rustc-rayon-core', 'rustc_query_impl/rustc_use_parallel_compiler']
|