]> git.lizzy.rs Git - rust.git/blob - src/librustc_codegen_llvm/Cargo.toml
Auto merge of #53002 - QuietMisdreavus:brother-may-i-have-some-loops, r=pnkfelix
[rust.git] / src / librustc_codegen_llvm / Cargo.toml
1 [package]
2 authors = ["The Rust Project Developers"]
3 name = "rustc_codegen_llvm"
4 version = "0.0.0"
5
6 [lib]
7 name = "rustc_codegen_llvm"
8 path = "lib.rs"
9 crate-type = ["dylib"]
10 test = false
11
12 [dependencies]
13 bitflags = "1.0.1"
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_target = { path = "../librustc_target" }
25 rustc_data_structures = { path = "../librustc_data_structures" }
26 rustc_errors = { path = "../librustc_errors" }
27 rustc_incremental = { path = "../librustc_incremental" }
28 rustc_llvm = { path = "../librustc_llvm" }
29 rustc_platform_intrinsics = { path = "../librustc_platform_intrinsics" }
30 rustc_codegen_utils = { path = "../librustc_codegen_utils" }
31 rustc_mir = { path = "../librustc_mir" }
32 serialize = { path = "../libserialize" }
33 syntax = { path = "../libsyntax" }
34 syntax_pos = { path = "../libsyntax_pos" }
35 tempfile = "3.0"
36
37 # not actually used but needed to make sure we enable the same feature set as
38 # winapi used in librustc
39 env_logger = { version = "0.5", default-features = false }
40
41 [features]
42 # Used to communicate the feature to `rustc_target` in the same manner that the
43 # `rustc` driver script communicate this.
44 jemalloc = ["rustc_target/jemalloc"]
45
46 # This is used to convince Cargo to separately cache builds of `rustc_codegen_llvm`
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"]