summaryrefslogtreecommitdiff
path: root/rust_src.patch
diff options
context:
space:
mode:
Diffstat (limited to 'rust_src.patch')
-rw-r--r--rust_src.patch10
1 files changed, 5 insertions, 5 deletions
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<T: ?Sized>(to_drop: *mut T);
+@@ -678,5 +678,9 @@
+ pub fn min_align_of_val<T: ?Sized>(_: &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<T: ?Sized>() -> &'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 {