aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Crozet <sebcrozet@dimforge.com>2024-05-25 11:11:21 +0200
committerSébastien Crozet <sebastien@crozet.re>2024-05-25 12:00:15 +0200
commit4737a961696a5e058ac51958ae3d5fad5a43f5ca (patch)
treedb16a9d088519c442be21d90aad3b55277073227
parent174778067db4c61981cedc6cbf7cd7e893328eb5 (diff)
downloadrapier-4737a961696a5e058ac51958ae3d5fad5a43f5ca.tar.gz
rapier-4737a961696a5e058ac51958ae3d5fad5a43f5ca.tar.bz2
rapier-4737a961696a5e058ac51958ae3d5fad5a43f5ca.zip
fix: allow enexpected_cfgs
-rw-r--r--src/lib.rs1
-rw-r--r--src_testbed/lib.rs1
2 files changed, 2 insertions, 0 deletions
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;