mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
Rustup to rustc 1.70.0-nightly (af06dce64
2023-04-08)
This commit is contained in:
parent
8b447bcdd8
commit
45eb938b09
4
build_sysroot/Cargo.lock
generated
4
build_sysroot/Cargo.lock
generated
@ -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",
|
||||
]
|
||||
|
@ -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 {}
|
||||
|
@ -1,3 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly-2023-03-30"
|
||||
channel = "nightly-2023-04-09"
|
||||
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]
|
||||
|
Loading…
Reference in New Issue
Block a user