Skip to content

Commit a2b17e4

Browse files
committed
Enable a working libcore test
1 parent 641e13e commit a2b17e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

patches/0022-sysroot-Disable-not-compiling-tests.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ index 1a6be3a..42dbd59 100644
5151
#[test]
5252
#[allow(warnings)]
5353
// Have a symbol for the test below. It doesn’t need to be an actual variadic function, match the
54-
@@ -289,6 +290,7 @@ fn write_unaligned_drop() {
55-
}
56-
DROPS.with(|d| assert_eq!(*d.borrow(), [0]));
54+
@@ -277,6 +277,7 @@ pub fn test_variadic_fnptr() {
55+
let mut s = SipHasher::new();
56+
assert_eq!(p.hash(&mut s), q.hash(&mut s));
5757
}
5858
+*/
5959

6060
#[test]
61-
fn align_offset_zst() {
61+
fn write_unaligned_drop() {
6262
diff --git a/library/core/tests/slice.rs b/library/core/tests/slice.rs
6363
index 6609bc3..241b497 100644
6464
--- a/library/core/tests/slice.rs

0 commit comments

Comments
 (0)