1- From f6befc4bb51d84f5f1cf35938a168c953d421350 Mon Sep 17 00:00:00 2001
2- From: bjorn3 <bjorn3@users.noreply.github .com>
3- Date: Sun, 24 Nov 2019 15:10:23 +0100
1+ From 18793c6109890493ceb3ff36549849a36e3d8022 Mon Sep 17 00:00:00 2001
2+ From: None <none@example .com>
3+ Date: Sun, 1 Sep 2024 11:42:17 -0400
44Subject: [PATCH] [core] Disable not compiling tests
55
66---
7- library/core/tests/Cargo.toml | 8 ++++++++
8- library/core/tests/num/flt2dec/mod.rs | 1 -
9- library/core/tests/num/int_macros.rs | 2 ++
10- library/core/tests/num/uint_macros.rs | 2 ++
11- library/core/tests/ptr.rs | 2 ++
12- library/core/tests/slice.rs | 2 ++
13- 6 files changed, 16 insertions(+), 1 deletion(-)
7+ library/core/tests/Cargo.toml | 14 ++++++++++++++
8+ library/core/tests/lib.rs | 1 +
9+ 2 files changed, 15 insertions(+)
1410 create mode 100644 library/core/tests/Cargo.toml
1511
1612diff --git a/library/core/tests/Cargo.toml b/library/core/tests/Cargo.toml
1713new file mode 100644
18- index 0000000..46fd999
14+ index 0000000..ca326ac
1915--- /dev/null
2016+++ b/library/core/tests/Cargo.toml
21- @@ -0,0 +1,12 @@
17+ @@ -0,0 +1,14 @@
18+ + [workspace]
19+ +
2220+ [package]
23- + name = "core "
21+ + name = "coretests "
2422+ version = "0.0.0"
2523+ edition = "2021"
2624+
@@ -32,12 +30,14 @@ index 0000000..46fd999
3230+ rand = { version = "0.8.5", default-features = false }
3331+ rand_xorshift = { version = "0.3.0", default-features = false }
3432diff --git a/library/core/tests/lib.rs b/library/core/tests/lib.rs
35- index 42a26ae..5ac1042 100644
33+ index 1e336bf..5800ebb 100644
3634--- a/library/core/tests/lib.rs
3735+++ b/library/core/tests/lib.rs
38- @@ -2 ,4 +2 ,5 @@
36+ @@ -1 ,4 +1 ,5 @@
3937 // tidy-alphabetical-start
4038+ #![cfg(test)]
4139 #![cfg_attr(bootstrap, feature(offset_of_nested))]
4240 #![cfg_attr(target_has_atomic = "128", feature(integer_atomics))]
4341 #![cfg_attr(test, feature(cfg_match))]
42+ - -
43+ 2.46.0
0 commit comments