]>
Commit | Line | Data |
---|---|---|
532ac7d7 XL |
1 | [package] |
2 | authors = ["The Rust Project Developers"] | |
3 | name = "rustc_interface" | |
4 | version = "0.0.0" | |
5 | edition = "2018" | |
6 | ||
7 | [lib] | |
8 | name = "rustc_interface" | |
9 | path = "lib.rs" | |
416331ca | 10 | doctest = false |
532ac7d7 XL |
11 | |
12 | [dependencies] | |
ba9703b0 | 13 | libc = "0.2" |
532ac7d7 | 14 | log = "0.4" |
e74abb32 | 15 | rayon = { version = "0.3.0", package = "rustc-rayon" } |
60c5eb7d | 16 | smallvec = { version = "1.0", features = ["union", "may_dangle"] } |
74b04a01 XL |
17 | rustc_ast = { path = "../librustc_ast" } |
18 | rustc_attr = { path = "../librustc_attr" } | |
dfeec247 XL |
19 | rustc_builtin_macros = { path = "../librustc_builtin_macros" } |
20 | rustc_expand = { path = "../librustc_expand" } | |
60c5eb7d | 21 | rustc_parse = { path = "../librustc_parse" } |
dfeec247 XL |
22 | rustc_session = { path = "../librustc_session" } |
23 | rustc_span = { path = "../librustc_span" } | |
416331ca | 24 | rustc_serialize = { path = "../libserialize", package = "serialize" } |
ba9703b0 | 25 | rustc_middle = { path = "../librustc_middle" } |
dfeec247 XL |
26 | rustc_ast_lowering = { path = "../librustc_ast_lowering" } |
27 | rustc_ast_passes = { path = "../librustc_ast_passes" } | |
532ac7d7 XL |
28 | rustc_incremental = { path = "../librustc_incremental" } |
29 | rustc_traits = { path = "../librustc_traits" } | |
30 | rustc_data_structures = { path = "../librustc_data_structures" } | |
48663c56 | 31 | rustc_codegen_ssa = { path = "../librustc_codegen_ssa" } |
ba9703b0 | 32 | rustc_symbol_mangling = { path = "../librustc_symbol_mangling" } |
60c5eb7d | 33 | rustc_codegen_llvm = { path = "../librustc_codegen_llvm", optional = true } |
dfeec247 | 34 | rustc_hir = { path = "../librustc_hir" } |
74b04a01 | 35 | rustc_infer = { path = "../librustc_infer" } |
532ac7d7 XL |
36 | rustc_metadata = { path = "../librustc_metadata" } |
37 | rustc_mir = { path = "../librustc_mir" } | |
dfeec247 | 38 | rustc_mir_build = { path = "../librustc_mir_build" } |
532ac7d7 XL |
39 | rustc_passes = { path = "../librustc_passes" } |
40 | rustc_typeck = { path = "../librustc_typeck" } | |
41 | rustc_lint = { path = "../librustc_lint" } | |
42 | rustc_errors = { path = "../librustc_errors" } | |
60c5eb7d | 43 | rustc_plugin_impl = { path = "../librustc_plugin_impl" } |
532ac7d7 XL |
44 | rustc_privacy = { path = "../librustc_privacy" } |
45 | rustc_resolve = { path = "../librustc_resolve" } | |
ba9703b0 | 46 | rustc_trait_selection = { path = "../librustc_trait_selection" } |
dfeec247 | 47 | rustc_ty = { path = "../librustc_ty" } |
48663c56 | 48 | tempfile = "3.0.5" |
e1599b0c | 49 | once_cell = "1" |
60c5eb7d | 50 | |
dfeec247 XL |
51 | [target.'cfg(windows)'.dependencies] |
52 | winapi = { version = "0.3", features = ["libloaderapi"] } | |
53 | ||
60c5eb7d XL |
54 | [dev-dependencies] |
55 | rustc_target = { path = "../librustc_target" } | |
56 | ||
57 | [features] | |
58 | llvm = ['rustc_codegen_llvm'] |