2019-11-24 08:44:39 -06:00
|
|
|
From f6befc4bb51d84f5f1cf35938a168c953d421350 Mon Sep 17 00:00:00 2001
|
|
|
|
From: bjorn3 <bjorn3@users.noreply.github.com>
|
|
|
|
Date: Sun, 24 Nov 2019 15:10:23 +0100
|
|
|
|
Subject: [PATCH] [core] Disable not compiling tests
|
|
|
|
|
|
|
|
---
|
2020-07-30 07:58:27 -05:00
|
|
|
library/core/tests/Cargo.toml | 8 ++++++++
|
|
|
|
library/core/tests/num/flt2dec/mod.rs | 1 -
|
|
|
|
library/core/tests/num/int_macros.rs | 2 ++
|
|
|
|
library/core/tests/num/uint_macros.rs | 2 ++
|
|
|
|
library/core/tests/ptr.rs | 2 ++
|
|
|
|
library/core/tests/slice.rs | 2 ++
|
2019-11-24 08:44:39 -06:00
|
|
|
6 files changed, 16 insertions(+), 1 deletion(-)
|
2020-07-30 07:58:27 -05:00
|
|
|
create mode 100644 library/core/tests/Cargo.toml
|
2019-11-24 08:44:39 -06:00
|
|
|
|
2023-02-26 06:15:25 -06:00
|
|
|
diff --git a/Cargo.toml b/Cargo.toml
|
2019-11-24 08:44:39 -06:00
|
|
|
new file mode 100644
|
|
|
|
index 0000000..46fd999
|
|
|
|
--- /dev/null
|
2023-02-26 06:15:25 -06:00
|
|
|
+++ b/Cargo.toml
|
2023-01-20 05:40:54 -06:00
|
|
|
@@ -0,0 +1,12 @@
|
2019-11-24 08:44:39 -06:00
|
|
|
+[package]
|
2023-02-26 06:15:25 -06:00
|
|
|
+name = "coretests"
|
2019-11-24 08:44:39 -06:00
|
|
|
+version = "0.0.0"
|
2022-02-23 04:49:34 -06:00
|
|
|
+edition = "2021"
|
2019-11-24 08:44:39 -06:00
|
|
|
+
|
|
|
|
+[lib]
|
|
|
|
+name = "coretests"
|
|
|
|
+path = "lib.rs"
|
2022-03-20 10:55:21 -05:00
|
|
|
+
|
|
|
|
+[dependencies]
|
2023-01-20 05:40:54 -06:00
|
|
|
+rand = { version = "0.8.5", default-features = false }
|
|
|
|
+rand_xorshift = { version = "0.3.0", default-features = false }
|
2023-02-26 06:15:25 -06:00
|
|
|
diff --git a/lib.rs b/lib.rs
|
2023-02-25 11:54:01 -06:00
|
|
|
index 42a26ae..5ac1042 100644
|
2023-02-26 06:15:25 -06:00
|
|
|
--- a/lib.rs
|
|
|
|
+++ b/lib.rs
|
2023-02-25 11:54:01 -06:00
|
|
|
@@ -1,3 +1,4 @@
|
|
|
|
+#![cfg(test)]
|
|
|
|
#![feature(alloc_layout_extra)]
|
|
|
|
#![feature(array_chunks)]
|
2024-03-18 08:59:53 -05:00
|
|
|
#![feature(array_ptr_get)]
|
2020-06-20 06:23:31 -05:00
|
|
|
--
|
2019-11-24 08:44:39 -06:00
|
|
|
2.21.0 (Apple Git-122)
|