From f36b0f4e60af40417bf2c1131c8b18bd98587660 Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Thu, 28 Nov 2024 22:12:36 -0800 Subject: [PATCH] Allow future `unexpected_cfgs` lint from bytemuck derive. --- all-is-cubes/src/save/schema.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/all-is-cubes/src/save/schema.rs b/all-is-cubes/src/save/schema.rs index 90f6038ed..787456739 100644 --- a/all-is-cubes/src/save/schema.rs +++ b/all-is-cubes/src/save/schema.rs @@ -15,6 +15,11 @@ //! (and not, say, as structures with named fields). //! * [`Cow`] is sometimes used to avoid unnecessary clones during serialization. +#![allow( + unexpected_cfgs, + reason = "https://github.com/Lokathor/bytemuck/issues/286" +)] + use alloc::borrow::Cow; use alloc::vec::Vec; use core::num::NonZeroU16;