From 95bf3590871978f9063936444cd2a44a13975d39 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Thu, 30 Jan 2025 18:00:53 -0500 Subject: [PATCH] YJIT: Turn on dead code lint for the stats module --- yjit/src/stats.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/yjit/src/stats.rs b/yjit/src/stats.rs index 34fdc0f63c..d16741b17c 100644 --- a/yjit/src/stats.rs +++ b/yjit/src/stats.rs @@ -1,8 +1,6 @@ //! Everything related to the collection of runtime stats in YJIT //! See the stats feature and the --yjit-stats command-line option -#![allow(dead_code)] // Counters are only used with the stats features - use std::alloc::{GlobalAlloc, Layout, System}; use std::ptr::addr_of_mut; use std::sync::atomic::{AtomicUsize, Ordering};