]> git.lizzy.rs Git - rust.git/blob - src/libstd/Cargo.toml
Fix test
[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 license = "MIT/Apache-2.0"
7 repository = "https://github.com/rust-lang/rust.git"
8 description = "The Rust Standard Library"
9
10 [lib]
11 name = "std"
12 path = "lib.rs"
13 crate-type = ["dylib", "rlib"]
14
15 [dependencies]
16 alloc = { path = "../liballoc" }
17 alloc_jemalloc = { path = "../liballoc_jemalloc", optional = true }
18 alloc_system = { path = "../liballoc_system" }
19 panic_unwind = { path = "../libpanic_unwind", optional = true }
20 panic_abort = { path = "../libpanic_abort" }
21 core = { path = "../libcore" }
22 libc = { path = "../rustc/libc_shim" }
23 compiler_builtins = { path = "../rustc/compiler_builtins_shim" }
24 profiler_builtins = { path = "../libprofiler_builtins", optional = true }
25 std_unicode = { path = "../libstd_unicode" }
26 unwind = { path = "../libunwind" }
27
28 [dev-dependencies]
29 rand = "0.4"
30
31 [target.x86_64-apple-darwin.dependencies]
32 rustc_asan = { path = "../librustc_asan" }
33 rustc_tsan = { path = "../librustc_tsan" }
34
35 [target.x86_64-unknown-linux-gnu.dependencies]
36 rustc_asan = { path = "../librustc_asan" }
37 rustc_lsan = { path = "../librustc_lsan" }
38 rustc_msan = { path = "../librustc_msan" }
39 rustc_tsan = { path = "../librustc_tsan" }
40
41 [build-dependencies]
42 build_helper = { path = "../build_helper" }
43
44 [features]
45 backtrace = []
46 debug-jemalloc = ["alloc_jemalloc/debug"]
47 jemalloc = ["alloc_jemalloc"]
48 force_alloc_system = []
49 panic-unwind = ["panic_unwind"]
50 profiler = ["profiler_builtins"]
51 wasm_syscall = []