fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1[package] 2authors = ["The Rust Project Developers"] 3name = "std" 4version = "0.0.0" 5build = "build.rs" 6license = "MIT OR Apache-2.0" 7repository = "https://github.com/rust-lang/rust.git" 8description = "The Rust Standard Library" 9edition = "2018" 10 11[lib] 12name = "std" 13path = "lib.rs" 14crate-type = ["dylib", "rlib"] 15 16[dependencies] 17alloc = { path = "../liballoc" } 18cfg-if = { version = "0.1.8", features = ['rustc-dep-of-std'] } 19panic_unwind = { path = "../libpanic_unwind", optional = true } 20panic_abort = { path = "../libpanic_abort" } 21core = { path = "../libcore" } 22libc = { version = "0.2.51", default-features = false, features = ['rustc-dep-of-std'] } 23compiler_builtins = { version = "0.1.16" } 24profiler_builtins = { path = "../libprofiler_builtins", optional = true } 25unwind = { path = "../libunwind" } 26hashbrown = { version = "0.6.2", default-features = false, features = ['rustc-dep-of-std'] } 27 28[dependencies.backtrace_rs] 29package = "backtrace" 30version = "0.3.46" 31default-features = false # without the libstd `backtrace` feature, stub out everything 32features = [ "rustc-dep-of-std" ] # enable build support for integrating into libstd 33 34[dev-dependencies] 35rand = "0.7" 36 37[target.'cfg(any(all(target_arch = "wasm32", not(target_os = "emscripten")), all(target_vendor = "fortanix", target_env = "sgx")))'.dependencies] 38dlmalloc = { version = "0.1", features = ['rustc-dep-of-std'] } 39 40[target.x86_64-fortanix-unknown-sgx.dependencies] 41fortanix-sgx-abi = { version = "0.3.2", features = ['rustc-dep-of-std'] } 42 43[target.'cfg(all(any(target_arch = "x86_64", target_arch = "aarch64"), target_os = "hermit"))'.dependencies] 44hermit-abi = { version = "0.1.10", features = ['rustc-dep-of-std'] } 45 46[target.wasm32-wasi.dependencies] 47wasi = { version = "0.9.0", features = ['rustc-dep-of-std'], default-features = false } 48 49[features] 50default = ["std_detect_file_io", "std_detect_dlsym_getauxval", "panic-unwind"] 51 52backtrace = [ 53 "backtrace_rs/dbghelp", # backtrace/symbolize on MSVC 54 "backtrace_rs/libbacktrace", # symbolize on most platforms 55 "backtrace_rs/libunwind", # backtrace on most platforms 56 "backtrace_rs/dladdr", # symbolize on platforms w/o libbacktrace 57] 58 59panic-unwind = ["panic_unwind"] 60profiler = ["profiler_builtins"] 61compiler-builtins-c = ["alloc/compiler-builtins-c"] 62llvm-libunwind = ["unwind/llvm-libunwind"] 63 64# Make panics and failed asserts immediately abort without formatting any message 65panic_immediate_abort = ["core/panic_immediate_abort"] 66 67# Enable std_detect default features for stdarch/crates/std_detect: 68# https://github.com/rust-lang/stdarch/blob/master/crates/std_detect/Cargo.toml 69std_detect_file_io = [] 70std_detect_dlsym_getauxval = [] 71 72[package.metadata.fortanix-sgx] 73# Maximum possible number of threads when testing 74threads = 125 75# Maximum heap size 76heap_size = 0x8000000