Skip to content

Commit e21c49f

Browse files
committed
Fix build error
1 parent d7a7401 commit e21c49f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mallockit/src/mutator.rs

+5
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ pub trait TLS: Sized {
9393

9494
impl TLS for u8 {
9595
const NEW: Self = 0;
96+
97+
#[cfg(not(target_os = "macos"))]
98+
fn current() -> &'static mut Self {
99+
unreachable!()
100+
}
96101
}
97102

98103
#[cfg(target_os = "macos")]

0 commit comments

Comments
 (0)