From f37b4f2bde9d2fa40e8771741f44aceb70eaa994 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Mon, 17 Jul 2017 13:17:31 +0800 Subject: Update patch --- rust_src.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rust_src.patch') diff --git a/rust_src.patch b/rust_src.patch index ac479382..f49891a5 100644 --- a/rust_src.patch +++ b/rust_src.patch @@ -1,7 +1,7 @@ --- rustc-nightly/src/libcore/intrinsics.rs +++ rustc-nightly/src/libcore/intrinsics.rs -@@ -643,5 +643,9 @@ - pub fn drop_in_place(to_drop: *mut T); +@@ -678,5 +678,9 @@ + pub fn min_align_of_val(_: &T) -> usize; + /// Obtain the length of a slice pointer + #[cfg(rust_compiler="mrustc")] @@ -10,9 +10,9 @@ /// Gets a static string slice containing the name of a type. pub fn type_name() -> &'static str; ---- rustc-nightly/src/libcore/slice.rs -+++ rustc-nightly/src/libcore/slice.rs -@@ -340,6 +340,8 @@ +--- rustc-nightly/src/libcore/slice/mod.rs ++++ rustc-nightly/src/libcore/slice/mod.rs +@@ -413,6 +413,8 @@ #[inline] fn len(&self) -> usize { - unsafe { -- cgit v1.2.3