From 4737a961696a5e058ac51958ae3d5fad5a43f5ca Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Sat, 25 May 2024 11:11:21 +0200 Subject: fix: allow enexpected_cfgs --- src/lib.rs | 1 + src_testbed/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 32e1541..5c660ba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,6 +15,7 @@ #![allow(clippy::too_many_arguments)] #![allow(clippy::needless_range_loop)] // TODO: remove this? I find that in the math code using indices adds clarity. #![allow(clippy::module_inception)] +#![allow(unexpected_cfgs)] // This happens due to the dim2/dim3/f32/f64 cfg. #[cfg(all(feature = "dim2", feature = "f32"))] pub extern crate parry2d as parry; diff --git a/src_testbed/lib.rs b/src_testbed/lib.rs index 36c9199..2cb002a 100644 --- a/src_testbed/lib.rs +++ b/src_testbed/lib.rs @@ -1,4 +1,5 @@ #![allow(clippy::too_many_arguments)] +#![allow(unexpected_cfgs)] // This happens due to the dim2/dim3/f32/f64 cfg. extern crate nalgebra as na; -- cgit