From b3415291a606e994dea56f6ea68d53b847ce1f29 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Fri, 26 May 2023 08:27:47 +0000 Subject: [PATCH] Rustup to rustc 1.71.0-nightly (a2b1646c5 2023-05-25) --- build_sysroot/Cargo.lock | 4 ++-- example/mini_core.rs | 3 +++ rust-toolchain | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/build_sysroot/Cargo.lock b/build_sysroot/Cargo.lock index ad5381c88c9..a41c783ed00 100644 --- a/build_sysroot/Cargo.lock +++ b/build_sysroot/Cargo.lock @@ -50,9 +50,9 @@ dependencies = [ [[package]] name = "compiler_builtins" -version = "0.1.91" +version = "0.1.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "571298a3cce7e2afbd3d61abb91a18667d5ab25993ec577a88ee8ac45f00cc3a" +checksum = "64518f1ae689f74db058bbfb3238dfe6eb53f59f4ae712f1ff4348628522e190" dependencies = [ "rustc-std-workspace-core", ] diff --git a/example/mini_core.rs b/example/mini_core.rs index d9ce2d6dfa7..772dd98fade 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -502,6 +502,9 @@ pub unsafe fn drop_in_place(to_drop: *mut T) { drop_in_place(to_drop); } +#[lang = "unpin"] +pub auto trait Unpin {} + #[lang = "deref"] pub trait Deref { type Target: ?Sized; diff --git a/rust-toolchain b/rust-toolchain index 83edc30874b..b8f06e0b4b1 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,3 +1,3 @@ [toolchain] -channel = "nightly-2023-05-12" +channel = "nightly-2023-05-26" components = ["rust-src", "rustc-dev", "llvm-tools-preview"]