YJIT: Fix unused_unsafe warning in StatsAlloc

This commit is contained in:
Alan Wu 2025-12-03 21:16:23 -05:00
parent dce716e25b
commit 9a2710013c
Notes: git 2025-12-05 20:50:30 +00:00

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};