diff options
Diffstat (limited to 'nearby/presence/np_c_ffi/src/lib.rs')
-rw-r--r-- | nearby/presence/np_c_ffi/src/lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nearby/presence/np_c_ffi/src/lib.rs b/nearby/presence/np_c_ffi/src/lib.rs index 84e9859..50e74b6 100644 --- a/nearby/presence/np_c_ffi/src/lib.rs +++ b/nearby/presence/np_c_ffi/src/lib.rs @@ -87,8 +87,6 @@ impl PanicHandler { } } -//TODO: use a std library RwLock if we have that available, spin is only needed for no_std and -// won't be as performant static PANIC_HANDLER: RwLock<PanicHandler> = RwLock::new(PanicHandler::new()); pub(crate) fn panic(reason: PanicReason) -> ! { |