mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
35 lines
1.2 KiB
TOML
35 lines
1.2 KiB
TOML
[package]
|
|
name = "test"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["dylib", "rlib"]
|
|
|
|
[dependencies]
|
|
getopts = { version = "0.2.21", features = ['rustc-dep-of-std'] }
|
|
std = { path = "../std" }
|
|
core = { path = "../core" }
|
|
panic_unwind = { path = "../panic_unwind" }
|
|
panic_abort = { path = "../panic_abort" }
|
|
|
|
# not actually used but needed to always have proc_macro in the sysroot
|
|
proc_macro = { path = "../proc_macro" }
|
|
|
|
# Forward features to the `std` crate as necessary
|
|
[features]
|
|
default = ["std_detect_file_io", "std_detect_dlsym_getauxval", "panic-unwind"]
|
|
backtrace = ["std/backtrace"]
|
|
compiler-builtins-c = ["std/compiler-builtins-c"]
|
|
compiler-builtins-mem = ["std/compiler-builtins-mem"]
|
|
compiler-builtins-no-asm = ["std/compiler-builtins-no-asm"]
|
|
compiler-builtins-mangled-names = ["std/compiler-builtins-mangled-names"]
|
|
llvm-libunwind = ["std/llvm-libunwind"]
|
|
system-llvm-libunwind = ["std/system-llvm-libunwind"]
|
|
panic-unwind = ["std/panic_unwind"]
|
|
panic_immediate_abort = ["std/panic_immediate_abort"]
|
|
profiler = ["std/profiler"]
|
|
std_detect_file_io = ["std/std_detect_file_io"]
|
|
std_detect_dlsym_getauxval = ["std/std_detect_dlsym_getauxval"]
|
|
std_detect_env_override = ["std/std_detect_env_override"]
|