mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 04:07:58 +00:00
YJIT: Fix unused_unsafe warning in StatsAlloc
This commit is contained in:
parent
dce716e25b
commit
9a2710013c
Notes:
git
2025-12-05 20:50:30 +00:00
@ -1,4 +1,5 @@
|
|||||||
//! Shared code between YJIT and ZJIT.
|
//! 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::sync::atomic::{AtomicUsize, Ordering};
|
||||||
use std::alloc::{GlobalAlloc, Layout, System};
|
use std::alloc::{GlobalAlloc, Layout, System};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user