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]
|
|
|
|
|
|
|
|
[dependencies]
|
2021-11-08 17:03:55 -06:00
|
|
|
libloading = "0.7.1"
|
2020-08-27 22:58:48 -05:00
|
|
|
tracing = "0.1"
|
2022-05-27 19:14:22 -05:00
|
|
|
rustc-rayon-core = { version = "0.4.0", optional = true }
|
|
|
|
rayon = { version = "0.4.0", package = "rustc-rayon", optional = true }
|
2022-06-26 17:48:55 -05:00
|
|
|
smallvec = { version = "1.8.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" }
|
2022-08-16 15:07:47 -05:00
|
|
|
rustc_macros = { path = "../rustc_macros" }
|
2020-08-27 22:58:48 -05:00
|
|
|
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" }
|
2022-09-26 06:00:29 -05:00
|
|
|
rustc_hir_analysis = { path = "../rustc_hir_analysis" }
|
2022-10-20 10:51:37 -05:00
|
|
|
rustc_hir_typeck = { path = "../rustc_hir_typeck" }
|
2020-08-27 22:58:48 -05:00
|
|
|
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" }
|
2020-08-27 22:58:48 -05:00
|
|
|
|
2022-06-13 13:50:44 -05:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
libc = "0.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']
|