about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-07-26 19:34:23 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-07-26 19:34:23 +0200
commita2b17e4e4fb538d1afb2fe3c164cd248fda593e4 (patch)
treea8c0896655167c54ec31e32913677cc7581952d3
parent641e13e0213ea09a2c9003369aaac1e842910c2a (diff)
downloadrust-a2b17e4e4fb538d1afb2fe3c164cd248fda593e4.tar.gz
rust-a2b17e4e4fb538d1afb2fe3c164cd248fda593e4.zip
Enable a working libcore test
-rw-r--r--patches/0022-sysroot-Disable-not-compiling-tests.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/0022-sysroot-Disable-not-compiling-tests.patch b/patches/0022-sysroot-Disable-not-compiling-tests.patch
index ba0eaacd828..25a315f666e 100644
--- a/patches/0022-sysroot-Disable-not-compiling-tests.patch
+++ b/patches/0022-sysroot-Disable-not-compiling-tests.patch
@@ -51,14 +51,14 @@ index 1a6be3a..42dbd59 100644
  #[test]
  #[allow(warnings)]
  // Have a symbol for the test below. It doesn’t need to be an actual variadic function, match the
-@@ -289,6 +290,7 @@ fn write_unaligned_drop() {
-     }
-     DROPS.with(|d| assert_eq!(*d.borrow(), [0]));
+@@ -277,6 +277,7 @@ pub fn test_variadic_fnptr() {
+     let mut s = SipHasher::new();
+     assert_eq!(p.hash(&mut s), q.hash(&mut s));
  }
 +*/
  
  #[test]
- fn align_offset_zst() {
+ fn write_unaligned_drop() {
 diff --git a/library/core/tests/slice.rs b/library/core/tests/slice.rs
 index 6609bc3..241b497 100644
 --- a/library/core/tests/slice.rs