]> git.lizzy.rs Git - rust.git/blob - src/librustc_trans/Cargo.toml
Merge branch 'refactor-select' of https://github.com/aravind-pg/rust into update...
[rust.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 cc = "1.0.1"
15 flate2 = "1.0"
16 jobserver = "0.1.5"
17 libc = "0.2"
18 log = "0.4"
19 num_cpus = "1.0"
20 rustc = { path = "../librustc" }
21 rustc-demangle = "0.1.4"
22 rustc_allocator = { path = "../librustc_allocator" }
23 rustc_apfloat = { path = "../librustc_apfloat" }
24 rustc_back = { path = "../librustc_back" }
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 # not actually used but needed to make sure we enable the same feature set as
39 # winapi used in librustc
40 env_logger = { version = "0.5", default-features = false }
41
42 [features]
43 # Used to communicate the feature to `rustc_back` in the same manner that the
44 # `rustc` driver script communicate this.
45 jemalloc = ["rustc_back/jemalloc"]
46
47 # This is used to convince Cargo to separately cache builds of `rustc_trans`
48 # when this option is enabled or not. That way we can build two, cache two
49 # artifacts, and have nice speedy rebuilds.
50 emscripten = ["rustc_llvm/emscripten"]