| From af0e237f056fa838c77463381a19b0dc993c0a35 Mon Sep 17 00:00:00 2001 |
| From: None <none@example.com> |
| Date: Sun, 1 Sep 2024 11:42:17 -0400 |
| Subject: [PATCH] Disable not compiling tests |
| |
| --- |
| library/core/tests/Cargo.toml | 14 ++++++++++++++ |
| library/core/tests/lib.rs | 1 + |
| 2 files changed, 15 insertions(+) |
| create mode 100644 library/core/tests/Cargo.toml |
| |
| diff --git a/library/core/tests/Cargo.toml b/library/core/tests/Cargo.toml |
| new file mode 100644 |
| index 0000000..ca326ac |
| --- /dev/null |
| +++ b/library/core/tests/Cargo.toml |
| @@ -0,0 +1,14 @@ |
| +[workspace] |
| + |
| +[package] |
| +name = "coretests" |
| +version = "0.0.0" |
| +edition = "2021" |
| + |
| +[lib] |
| +name = "coretests" |
| +path = "lib.rs" |
| + |
| +[dependencies] |
| +rand = { version = "0.8.5", default-features = false } |
| +rand_xorshift = { version = "0.3.0", default-features = false } |
| diff --git a/library/core/tests/lib.rs b/library/core/tests/lib.rs |
| index a4a7946..ecfe43f 100644 |
| --- a/library/core/tests/lib.rs |
| +++ b/library/core/tests/lib.rs |
| @@ -1,4 +1,5 @@ |
| // tidy-alphabetical-start |
| +#![cfg(test)] |
| #![cfg_attr(target_has_atomic = "128", feature(integer_atomics))] |
| #![cfg_attr(test, feature(cfg_match))] |
| #![feature(alloc_layout_extra)] |
| -- |
| 2.47.1 |
| |