From f7cb0d88bed0037642989180add6223a7eec86b9 Mon Sep 17 00:00:00 2001 From: Fenrir Date: Mon, 24 Jul 2017 19:35:49 -0600 Subject: [PATCH] Fix missing stability attribute --- ctr-std/src/panicking.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ctr-std/src/panicking.rs b/ctr-std/src/panicking.rs index 0de44be..57aa563 100644 --- a/ctr-std/src/panicking.rs +++ b/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 /// 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)] #[cold] pub fn begin_panic(msg: M, file_line: &(&'static str, u32)) -> ! {