From e7ee7d43f3d22f499845ee2c8c420201d6b453a3 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Thu, 12 Dec 2024 18:52:51 -0500 Subject: [PATCH] YJIT: Allow then-unknown `static_mut_refs` on older Rusts [ci skip] --- yjit/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yjit/src/lib.rs b/yjit/src/lib.rs index 3935d49762..f3247fbf1a 100644 --- a/yjit/src/lib.rs +++ b/yjit/src/lib.rs @@ -12,7 +12,9 @@ // check for re-entrance in one place. // // We're too close to release to do that, though, so disable the lint for now. +#![allow(unknown_lints)] #![allow(static_mut_refs)] +#![warn(unknown_lints)] pub mod asm; mod backend;