]> git.lizzy.rs Git - rust.git/blob - src/libstd/Cargo.toml
Rollup merge of #39604 - est31:i128_tests, r=alexcrichton
[rust.git] / src / libstd / Cargo.toml
1 [package]
2 authors = ["The Rust Project Developers"]
3 name = "std"
4 version = "0.0.0"
5 build = "build.rs"
6
7 [lib]
8 name = "std"
9 path = "lib.rs"
10 crate-type = ["dylib", "rlib"]
11
12 [dependencies]
13 alloc = { path = "../liballoc" }
14 alloc_jemalloc = { path = "../liballoc_jemalloc", optional = true }
15 alloc_system = { path = "../liballoc_system" }
16 panic_unwind = { path = "../libpanic_unwind", optional = true }
17 panic_abort = { path = "../libpanic_abort" }
18 collections = { path = "../libcollections" }
19 core = { path = "../libcore" }
20 libc = { path = "../rustc/libc_shim" }
21 rand = { path = "../librand" }
22 compiler_builtins = { path = "../libcompiler_builtins" }
23 std_unicode = { path = "../libstd_unicode" }
24 unwind = { path = "../libunwind" }
25
26 [target.x86_64-unknown-linux-gnu.dependencies]
27 rustc_asan = { path = "../librustc_asan", optional = true }
28 rustc_lsan = { path = "../librustc_lsan", optional = true }
29 rustc_msan = { path = "../librustc_msan", optional = true }
30 rustc_tsan = { path = "../librustc_tsan", optional = true }
31
32 [build-dependencies]
33 build_helper = { path = "../build_helper" }
34 gcc = "0.3.27"
35
36 [features]
37 asan = ["rustc_asan"]
38 backtrace = []
39 debug-jemalloc = ["alloc_jemalloc/debug"]
40 jemalloc = ["alloc_jemalloc"]
41 force_alloc_system = []
42 lsan = ["rustc_lsan"]
43 msan = ["rustc_msan"]
44 panic-unwind = ["panic_unwind"]
45 tsan = ["rustc_tsan"]