diff options
| author | panicbit <[email protected]> | 2017-02-24 20:42:00 +0100 |
|---|---|---|
| committer | panicbit <[email protected]> | 2017-02-24 20:42:00 +0100 |
| commit | 3abf9bdf38a176783c2734c670ba4632feac889c (patch) | |
| tree | 4919df83fb3b67b2c1f4d65196263c05bb249422 /ctr-std/src/thread/mod.rs | |
| parent | Merge pull request #20 from panicbit/service_ssl (diff) | |
| download | archived-ctru-rs-3abf9bdf38a176783c2734c670ba4632feac889c.tar.xz archived-ctru-rs-3abf9bdf38a176783c2734c670ba4632feac889c.zip | |
ctr-std: Mark thread::panicking
Diffstat (limited to 'ctr-std/src/thread/mod.rs')
| -rw-r--r-- | ctr-std/src/thread/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctr-std/src/thread/mod.rs b/ctr-std/src/thread/mod.rs index 8b27bed..a8a6490 100644 --- a/ctr-std/src/thread/mod.rs +++ b/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; // We don't have stack unwinding, so this should always be false +#[inline] +#[stable(feature = "rust1", since = "1.0.0")] pub fn panicking() -> bool { false } |