Browse Source

Merge pull request #23 from panicbit/unmarked_api

ctr-std: Mark thread::panicking
pull/10/head
Ronald Kinard 8 years ago committed by GitHub
parent
commit
d46ab76c6c
  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