Skip to content

Commit 45eb938

Browse files
committed
Rustup to rustc 1.70.0-nightly (af06dce 2023-04-08)
1 parent 8b447bc commit 45eb938

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

build_sysroot/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/mini_core.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,15 @@ fn panic_bounds_check(index: usize, len: usize) -> ! {
480480
}
481481
}
482482

483+
#[lang = "panic_cannot_unwind"]
484+
#[track_caller]
485+
fn panic_cannot_unwind() -> ! {
486+
unsafe {
487+
libc::puts("panic in a function that cannot unwind\n\0" as *const str as *const i8);
488+
intrinsics::abort();
489+
}
490+
}
491+
483492
#[lang = "eh_personality"]
484493
fn eh_personality() -> ! {
485494
loop {}

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "nightly-2023-03-30"
2+
channel = "nightly-2023-04-09"
33
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]

0 commit comments

Comments
 (0)