]> git.proxmox.com Git - rustc.git/blame - src/libstd/Cargo.toml
New upstream version 1.31.0+dfsg1
[rustc.git] / src / libstd / Cargo.toml
CommitLineData
7453a54e
SL
1[package]
2authors = ["The Rust Project Developers"]
3name = "std"
4version = "0.0.0"
5build = "build.rs"
abe05a73
XL
6license = "MIT/Apache-2.0"
7repository = "https://github.com/rust-lang/rust.git"
8description = "The Rust Standard Library"
7453a54e
SL
9
10[lib]
11name = "std"
12path = "lib.rs"
13crate-type = ["dylib", "rlib"]
7453a54e
SL
14
15[dependencies]
16alloc = { path = "../liballoc" }
17alloc_jemalloc = { path = "../liballoc_jemalloc", optional = true }
18alloc_system = { path = "../liballoc_system" }
476ff2be 19panic_unwind = { path = "../libpanic_unwind", optional = true }
a7813a04 20panic_abort = { path = "../libpanic_abort" }
7453a54e
SL
21core = { path = "../libcore" }
22libc = { path = "../rustc/libc_shim" }
041b39d2
XL
23compiler_builtins = { path = "../rustc/compiler_builtins_shim" }
24profiler_builtins = { path = "../libprofiler_builtins", optional = true }
a7813a04 25unwind = { path = "../libunwind" }
7453a54e 26
abe05a73 27[dev-dependencies]
b7449926 28rand = "0.5"
abe05a73 29
7cac9316
XL
30[target.x86_64-apple-darwin.dependencies]
31rustc_asan = { path = "../librustc_asan" }
32rustc_tsan = { path = "../librustc_tsan" }
33
8bb4bdeb
XL
34[target.x86_64-unknown-linux-gnu.dependencies]
35rustc_asan = { path = "../librustc_asan" }
36rustc_lsan = { path = "../librustc_lsan" }
37rustc_msan = { path = "../librustc_msan" }
38rustc_tsan = { path = "../librustc_tsan" }
39
7453a54e 40[build-dependencies]
94b46f34 41cc = "1.0"
7453a54e 42build_helper = { path = "../build_helper" }
7453a54e
SL
43
44[features]
5bcae85e 45backtrace = []
7453a54e 46debug-jemalloc = ["alloc_jemalloc/debug"]
476ff2be 47jemalloc = ["alloc_jemalloc"]
32a655c1 48force_alloc_system = []
476ff2be 49panic-unwind = ["panic_unwind"]
041b39d2 50profiler = ["profiler_builtins"]
0bf4aa26
XL
51
52# An off-by-default feature which enables a linux-syscall-like ABI for libstd to
53# interoperate with the host environment. Currently not well documented and
54# requires rebuilding the standard library to use it.
2c00a5a8 55wasm_syscall = []
0bf4aa26
XL
56
57# An off-by-default features to enable libstd to assume that wasm-bindgen is in
58# the environment for hooking up some thread-related information like the
59# current thread id and accessing/getting the current thread's TCB
60wasm-bindgen-threads = []