mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
61e89446ef
This commit removes all jemalloc related submodules, configuration, etc, from the bootstrap, from the standard library, and from the compiler. This will be followed up with a change to use jemalloc specifically as part of rustc on blessed platforms.
57 lines
1.7 KiB
TOML
57 lines
1.7 KiB
TOML
[package]
|
|
authors = ["The Rust Project Developers"]
|
|
name = "std"
|
|
version = "0.0.0"
|
|
build = "build.rs"
|
|
license = "MIT/Apache-2.0"
|
|
repository = "https://github.com/rust-lang/rust.git"
|
|
description = "The Rust Standard Library"
|
|
|
|
[lib]
|
|
name = "std"
|
|
path = "lib.rs"
|
|
crate-type = ["dylib", "rlib"]
|
|
|
|
[dependencies]
|
|
alloc = { path = "../liballoc" }
|
|
alloc_system = { path = "../liballoc_system" }
|
|
panic_unwind = { path = "../libpanic_unwind", optional = true }
|
|
panic_abort = { path = "../libpanic_abort" }
|
|
core = { path = "../libcore" }
|
|
libc = { path = "../rustc/libc_shim" }
|
|
compiler_builtins = { path = "../rustc/compiler_builtins_shim" }
|
|
profiler_builtins = { path = "../libprofiler_builtins", optional = true }
|
|
unwind = { path = "../libunwind" }
|
|
|
|
[dev-dependencies]
|
|
rand = "0.5"
|
|
|
|
[target.x86_64-apple-darwin.dependencies]
|
|
rustc_asan = { path = "../librustc_asan" }
|
|
rustc_tsan = { path = "../librustc_tsan" }
|
|
|
|
[target.x86_64-unknown-linux-gnu.dependencies]
|
|
rustc_asan = { path = "../librustc_asan" }
|
|
rustc_lsan = { path = "../librustc_lsan" }
|
|
rustc_msan = { path = "../librustc_msan" }
|
|
rustc_tsan = { path = "../librustc_tsan" }
|
|
|
|
[build-dependencies]
|
|
cc = "1.0"
|
|
build_helper = { path = "../build_helper" }
|
|
|
|
[features]
|
|
backtrace = []
|
|
panic-unwind = ["panic_unwind"]
|
|
profiler = ["profiler_builtins"]
|
|
|
|
# An off-by-default feature which enables a linux-syscall-like ABI for libstd to
|
|
# interoperate with the host environment. Currently not well documented and
|
|
# requires rebuilding the standard library to use it.
|
|
wasm_syscall = []
|
|
|
|
# An off-by-default features to enable libstd to assume that wasm-bindgen is in
|
|
# the environment for hooking up some thread-related information like the
|
|
# current thread id and accessing/getting the current thread's TCB
|
|
wasm-bindgen-threads = []
|