YJIT: Fix unused_unsafe warning in StatsAlloc

This commit is contained in:
Alan Wu committed 2025-12-05 15:49:25 -05:00
1 parent dce716e25b
commit 9a2710013c
1 file changed
+1
Notes: git 2025-12-05 20:50:30 +00:00
+1
View File
@@ -1,4 +1,5 @@
//! Shared code between YJIT and ZJIT.
#![warn(unsafe_op_in_unsafe_fn)] // Adopt 2024 edition default when targeting 2021 editions
use std::sync::atomic::{AtomicUsize, Ordering};
use std::alloc::{GlobalAlloc, Layout, System};