]> git.proxmox.com Git - rustc.git/blob - src/librustc_trans/Cargo.toml
New upstream version 1.25.0+dfsg1
[rustc.git] / src / librustc_trans / Cargo.toml
1 [package]
2 authors = ["The Rust Project Developers"]
3 name = "rustc_trans"
4 version = "0.0.0"
5
6 [lib]
7 name = "rustc_trans"
8 path = "lib.rs"
9 crate-type = ["dylib"]
10 test = false
11
12 [dependencies]
13 bitflags = "1.0"
14 flate2 = "1.0"
15 jobserver = "0.1.5"
16 libc = "0.2"
17 log = "0.4"
18 num_cpus = "1.0"
19 rustc = { path = "../librustc" }
20 rustc-demangle = "0.1.4"
21 rustc_allocator = { path = "../librustc_allocator" }
22 rustc_apfloat = { path = "../librustc_apfloat" }
23 rustc_back = { path = "../librustc_back" }
24 rustc_binaryen = { path = "../librustc_binaryen" }
25 rustc_const_math = { path = "../librustc_const_math" }
26 rustc_data_structures = { path = "../librustc_data_structures" }
27 rustc_errors = { path = "../librustc_errors" }
28 rustc_incremental = { path = "../librustc_incremental" }
29 rustc_llvm = { path = "../librustc_llvm" }
30 rustc_platform_intrinsics = { path = "../librustc_platform_intrinsics" }
31 rustc_trans_utils = { path = "../librustc_trans_utils" }
32 rustc_mir = { path = "../librustc_mir" }
33 serialize = { path = "../libserialize" }
34 syntax = { path = "../libsyntax" }
35 syntax_pos = { path = "../libsyntax_pos" }
36 tempdir = "0.3"
37
38 [target."cfg(windows)".dependencies]
39 cc = "1.0.1"
40
41 [features]
42 # Used to communicate the feature to `rustc_back` in the same manner that the
43 # `rustc` driver script communicate this.
44 jemalloc = ["rustc_back/jemalloc"]
45
46 # This is used to convince Cargo to separately cache builds of `rustc_trans`
47 # when this option is enabled or not. That way we can build two, cache two
48 # artifacts, and have nice speedy rebuilds.
49 emscripten = ["rustc_llvm/emscripten"]