fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.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.37" 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.x86_64-apple-darwin.dependencies] 38rustc_asan = { path = "../librustc_asan" } 39rustc_tsan = { path = "../librustc_tsan" } 40 41[target.x86_64-unknown-linux-gnu.dependencies] 42rustc_asan = { path = "../librustc_asan" } 43rustc_lsan = { path = "../librustc_lsan" } 44rustc_msan = { path = "../librustc_msan" } 45rustc_tsan = { path = "../librustc_tsan" } 46 47[target.'cfg(any(all(target_arch = "wasm32", not(target_os = "emscripten")), all(target_vendor = "fortanix", target_env = "sgx")))'.dependencies] 48dlmalloc = { version = "0.1", features = ['rustc-dep-of-std'] } 49 50[target.x86_64-fortanix-unknown-sgx.dependencies] 51fortanix-sgx-abi = { version = "0.3.2", features = ['rustc-dep-of-std'] } 52 53[target.'cfg(all(any(target_arch = "x86_64", target_arch = "aarch64"), target_os = "hermit"))'.dependencies] 54hermit-abi = { version = "0.1", features = ['rustc-dep-of-std'] } 55 56[target.wasm32-wasi.dependencies] 57wasi = { version = "0.7.0", features = ['rustc-dep-of-std', 'alloc'] } 58 59[features] 60default = ["std_detect_file_io", "std_detect_dlsym_getauxval"] 61 62backtrace = [ 63 "backtrace_rs/dbghelp", # backtrace/symbolize on MSVC 64 "backtrace_rs/libbacktrace", # symbolize on most platforms 65 "backtrace_rs/libunwind", # backtrace on most platforms 66 "backtrace_rs/dladdr", # symbolize on platforms w/o libbacktrace 67] 68 69panic-unwind = ["panic_unwind"] 70profiler = ["profiler_builtins"] 71compiler-builtins-c = ["alloc/compiler-builtins-c"] 72llvm-libunwind = ["unwind/llvm-libunwind"] 73 74# Make panics and failed asserts immediately abort without formatting any message 75panic_immediate_abort = ["core/panic_immediate_abort"] 76 77# Enable std_detect default features for stdarch/crates/std_detect: 78# https://github.com/rust-lang/stdarch/blob/master/crates/std_detect/Cargo.toml 79std_detect_file_io = [] 80std_detect_dlsym_getauxval = [] 81 82[package.metadata.fortanix-sgx] 83# Maximum possible number of threads when testing 84threads = 125 85# Maximum heap size 86heap_size = 0x8000000