mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 08:25:20 +08:00
YJIT: Fix unused_unsafe warning in StatsAlloc
This commit is contained in:
1 parent
dce716e25b
commit
9a2710013c
1 file changed
+1
Notes:
git
2025-12-05 20:50:30 +00:00
@@ -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};
|
||||
|
||||
Reference in new issue
Block a user