summaryrefslogtreecommitdiffstats
path: root/library/test/Cargo.toml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /library/test/Cargo.toml
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'library/test/Cargo.toml')
-rw-r--r--library/test/Cargo.toml36
1 files changed, 36 insertions, 0 deletions
diff --git a/library/test/Cargo.toml b/library/test/Cargo.toml
new file mode 100644
index 000000000..2da41484c
--- /dev/null
+++ b/library/test/Cargo.toml
@@ -0,0 +1,36 @@
+[package]
+name = "test"
+version = "0.0.0"
+edition = "2021"
+
+[lib]
+crate-type = ["dylib", "rlib"]
+
+[dependencies]
+cfg-if = { version = "0.1.8", features = ['rustc-dep-of-std'] }
+getopts = { version = "0.2.21", features = ['rustc-dep-of-std'] }
+std = { path = "../std" }
+core = { path = "../core" }
+libc = { version = "0.2", default-features = false }
+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"]