2024-09-01 10:59:27 -05:00
|
|
|
From 18793c6109890493ceb3ff36549849a36e3d8022 Mon Sep 17 00:00:00 2001
|
|
|
|
From: None <none@example.com>
|
|
|
|
Date: Sun, 1 Sep 2024 11:42:17 -0400
|
2020-05-10 09:54:30 -05:00
|
|
|
Subject: [PATCH] [core] Disable not compiling tests
|
|
|
|
|
|
|
|
---
|
2024-09-01 10:59:27 -05:00
|
|
|
library/core/tests/Cargo.toml | 14 ++++++++++++++
|
|
|
|
library/core/tests/lib.rs | 1 +
|
|
|
|
2 files changed, 15 insertions(+)
|
2020-05-10 09:54:30 -05:00
|
|
|
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
|
2024-09-01 10:59:27 -05:00
|
|
|
index 0000000..ca326ac
|
2020-05-10 09:54:30 -05:00
|
|
|
--- /dev/null
|
|
|
|
+++ b/library/core/tests/Cargo.toml
|
2024-09-01 10:59:27 -05:00
|
|
|
@@ -0,0 +1,14 @@
|
|
|
|
+[workspace]
|
|
|
|
+
|
2020-05-10 09:54:30 -05:00
|
|
|
+[package]
|
2024-09-01 10:59:27 -05:00
|
|
|
+name = "coretests"
|
2020-05-10 09:54:30 -05:00
|
|
|
+version = "0.0.0"
|
2022-03-26 12:29:37 -05:00
|
|
|
+edition = "2021"
|
2020-05-10 09:54:30 -05:00
|
|
|
+
|
|
|
|
+[lib]
|
|
|
|
+name = "coretests"
|
|
|
|
+path = "lib.rs"
|
2023-03-05 11:03:19 -06:00
|
|
|
+
|
|
|
|
+[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
|
2024-09-01 10:59:27 -05:00
|
|
|
index 1e336bf..5800ebb 100644
|
2023-03-05 11:03:19 -06:00
|
|
|
--- a/library/core/tests/lib.rs
|
|
|
|
+++ b/library/core/tests/lib.rs
|
2024-09-01 10:59:27 -05:00
|
|
|
@@ -1,4 +1,5 @@
|
2024-08-06 07:35:59 -05:00
|
|
|
// tidy-alphabetical-start
|
2023-03-05 11:03:19 -06:00
|
|
|
+#![cfg(test)]
|
2024-08-06 07:35:59 -05:00
|
|
|
#![cfg_attr(bootstrap, feature(offset_of_nested))]
|
|
|
|
#![cfg_attr(target_has_atomic = "128", feature(integer_atomics))]
|
|
|
|
#![cfg_attr(test, feature(cfg_match))]
|
2024-09-01 10:59:27 -05:00
|
|
|
--
|
|
|
|
2.46.0
|