2 authors = ["The Rust Project Developers"]
6 license = "MIT/Apache-2.0"
7 repository = "https://github.com/rust-lang/rust.git"
8 description = "The Rust Standard Library"
13 crate-type = ["dylib", "rlib"]
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 unwind = { path = "../libunwind" }
30 [target.x86_64-apple-darwin.dependencies]
31 rustc_asan = { path = "../librustc_asan" }
32 rustc_tsan = { path = "../librustc_tsan" }
34 [target.x86_64-unknown-linux-gnu.dependencies]
35 rustc_asan = { path = "../librustc_asan" }
36 rustc_lsan = { path = "../librustc_lsan" }
37 rustc_msan = { path = "../librustc_msan" }
38 rustc_tsan = { path = "../librustc_tsan" }
42 build_helper = { path = "../build_helper" }
46 debug-jemalloc = ["alloc_jemalloc/debug"]
47 jemalloc = ["alloc_jemalloc"]
48 force_alloc_system = []
49 panic-unwind = ["panic_unwind"]
50 profiler = ["profiler_builtins"]
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.
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
60 wasm-bindgen-threads = []