Rustup to rustc 1.70.0-nightly (af06dce64 2023-04-08)

This commit is contained in:
bjorn3 2023-04-09 15:12:19 +00:00
parent 8b447bcdd8
commit 45eb938b09
3 changed files with 12 additions and 3 deletions

View File

@ -128,9 +128,9 @@ dependencies = [
[[package]]
name = "libc"
version = "0.2.140"
version = "0.2.141"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c"
checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5"
dependencies = [
"rustc-std-workspace-core",
]

View File

@ -480,6 +480,15 @@ fn panic_bounds_check(index: usize, len: usize) -> ! {
}
}
#[lang = "panic_cannot_unwind"]
#[track_caller]
fn panic_cannot_unwind() -> ! {
unsafe {
libc::puts("panic in a function that cannot unwind\n\0" as *const str as *const i8);
intrinsics::abort();
}
}
#[lang = "eh_personality"]
fn eh_personality() -> ! {
loop {}

View File

@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-03-30"
channel = "nightly-2023-04-09"
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]