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 panic_unwind = { path = "../libpanic_unwind", optional = true }
18 panic_abort = { path = "../libpanic_abort" }
19 core = { path = "../libcore" }
20 libc = { path = "../rustc/libc_shim" }
21 compiler_builtins = { path = "../rustc/compiler_builtins_shim" }
22 profiler_builtins = { path = "../libprofiler_builtins", optional = true }
23 unwind = { path = "../libunwind" }
28 [target.x86_64-apple-darwin.dependencies]
29 rustc_asan = { path = "../librustc_asan" }
30 rustc_tsan = { path = "../librustc_tsan" }
32 [target.x86_64-unknown-linux-gnu.dependencies]
33 rustc_asan = { path = "../librustc_asan" }
34 rustc_lsan = { path = "../librustc_lsan" }
35 rustc_msan = { path = "../librustc_msan" }
36 rustc_tsan = { path = "../librustc_tsan" }
38 [target.'cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))'.dependencies]
39 dlmalloc = { path = '../rustc/dlmalloc_shim' }
43 build_helper = { path = "../build_helper" }
46 default = ["compiler_builtins_c"]
49 panic-unwind = ["panic_unwind"]
50 profiler = ["profiler_builtins"]
51 compiler_builtins_c = ["compiler_builtins/c"]
53 # Make panics and failed asserts immediately abort without formatting any message
54 panic_immediate_abort = ["core/panic_immediate_abort"]
56 # An off-by-default feature which enables a linux-syscall-like ABI for libstd to
57 # interoperate with the host environment. Currently not well documented and
58 # requires rebuilding the standard library to use it.
61 # An off-by-default features to enable libstd to assume that wasm-bindgen is in
62 # the environment for hooking up some thread-related information like the
63 # current thread id and accessing/getting the current thread's TCB
64 wasm-bindgen-threads = []