Enable a working libcore test

This commit is contained in:
bjorn3 2021-07-26 19:34:23 +02:00
parent 641e13e021
commit a2b17e4e4f
1 changed files with 4 additions and 4 deletions

View File

@ -51,14 +51,14 @@ index 1a6be3a..42dbd59 100644
#[test] #[test]
#[allow(warnings)] #[allow(warnings)]
// Have a symbol for the test below. It doesnt need to be an actual variadic function, match the // Have a symbol for the test below. It doesnt need to be an actual variadic function, match the
@@ -289,6 +290,7 @@ fn write_unaligned_drop() { @@ -277,6 +277,7 @@ pub fn test_variadic_fnptr() {
} let mut s = SipHasher::new();
DROPS.with(|d| assert_eq!(*d.borrow(), [0])); assert_eq!(p.hash(&mut s), q.hash(&mut s));
} }
+*/ +*/
#[test] #[test]
fn align_offset_zst() { fn write_unaligned_drop() {
diff --git a/library/core/tests/slice.rs b/library/core/tests/slice.rs diff --git a/library/core/tests/slice.rs b/library/core/tests/slice.rs
index 6609bc3..241b497 100644 index 6609bc3..241b497 100644
--- a/library/core/tests/slice.rs --- a/library/core/tests/slice.rs