Browse Source

ctr-std: Mark thread::panicking

pull/10/head
panicbit 8 years ago
parent
commit
3abf9bdf38
  1. 2
      ctr-std/src/thread/mod.rs

2
ctr-std/src/thread/mod.rs

@ -195,6 +195,8 @@ pub use self::local::{LocalKey, LocalKeyState};
#[doc(hidden)] pub use self::local::os::Key as __OsLocalKeyInner; #[doc(hidden)] pub use self::local::os::Key as __OsLocalKeyInner;
// We don't have stack unwinding, so this should always be false // We don't have stack unwinding, so this should always be false
#[inline]
#[stable(feature = "rust1", since = "1.0.0")]
pub fn panicking() -> bool { pub fn panicking() -> bool {
false false
} }

Loading…
Cancel
Save