Browse Source

Fix missing stability attribute

pull/10/head
Fenrir 8 years ago
parent
commit
f7cb0d88be
  1. 4
      ctr-std/src/panicking.rs

4
ctr-std/src/panicking.rs

@ -57,6 +57,10 @@ pub fn begin_panic_fmt(msg: &fmt::Arguments, file_line: &(&'static str, u32)) ->
/// We don't have stack unwinding, so all we do is print the panic message /// We don't have stack unwinding, so all we do is print the panic message
/// and then crash or hang the application /// and then crash or hang the application
#[unstable(feature = "libstd_sys_internals",
reason = "used by the panic! macro",
issue = "0")]
#[inline(never)] #[cold]
#[inline(never)] #[inline(never)]
#[cold] #[cold]
pub fn begin_panic<M: Any + Send + Display>(msg: M, file_line: &(&'static str, u32)) -> ! { pub fn begin_panic<M: Any + Send + Display>(msg: M, file_line: &(&'static str, u32)) -> ! {

Loading…
Cancel
Save