File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 3434//! Rust user code is to call the functions provided by this library instead (such as
3535//! `ptr::copy`).
3636//!
37- //! * `rust_begin_panic` - This function takes four arguments, a
38- //! `fmt::Arguments`, a `&'static str`, and two `u32`'s. These four arguments
39- //! dictate the panic message, the file at which panic was invoked, and the
40- //! line and column inside the file. It is up to consumers of this core
37+ //! * Panic handler - This function takes one argument, a `&panic::PanicInfo`. It is up to consumers of this core
4138//! library to define this panic function; it is only required to never
42- //! return. This requires a `lang` attribute named `panic_impl `.
39+ //! return. You should mark your implementation using `#[panic_handler] `.
4340//!
4441//! * `rust_eh_personality` - is used by the failure mechanisms of the
4542//! compiler. This is often mapped to GCC's personality function, but crates
You can’t perform that action at this time.
0 commit comments