aboutsummaryrefslogtreecommitdiff
path: root/ctr-std/src/panicking.rs
diff options
context:
space:
mode:
authorFenrir <[email protected]>2017-07-24 19:35:49 -0600
committerFenrir <[email protected]>2017-07-24 19:35:49 -0600
commitf7cb0d88bed0037642989180add6223a7eec86b9 (patch)
tree52f4aed5c025c9f995583ec9aa7bfba77f4ddecd /ctr-std/src/panicking.rs
parentMerge pull request #34 from panicbit/nightly_update (diff)
downloadarchived-ctru-rs-f7cb0d88bed0037642989180add6223a7eec86b9.tar.xz
archived-ctru-rs-f7cb0d88bed0037642989180add6223a7eec86b9.zip
Fix missing stability attribute
Diffstat (limited to 'ctr-std/src/panicking.rs')
-rw-r--r--ctr-std/src/panicking.rs4
1 files changed, 4 insertions, 0 deletions
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<M: Any + Send + Display>(msg: M, file_line: &(&'static str, u32)) -> ! {