()
| 16 | #[inline(never)] |
| 17 | #[cold] |
| 18 | fn refcount_overflow() -> ! { |
| 19 | #[cfg(feature = "std")] |
| 20 | std::process::abort(); |
| 21 | #[cfg(not(feature = "std"))] |
| 22 | core::panic!("refcount overflow"); |
| 23 | } |
| 24 | |
| 25 | /// State wraps reference count + flags in a single word (platform usize) |
| 26 | #[derive(Clone, Copy)] |