Skip to content

Commit

Permalink
Rustup to rustc 1.70.0-nightly (af06dce 2023-04-08)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Apr 9, 2023
1 parent 8b447bc commit 45eb938
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build_sysroot/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions example/mini_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-03-30"
channel = "nightly-2023-04-09"
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]

0 comments on commit 45eb938

Please sign in to comment.