Skip to content

Commit 80bb0ac

Browse files
committed
Added note about the rationale for improper_ctypes for clippy
1 parent 3aef926 commit 80bb0ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rclrs/src/rcl_bindings.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
#![allow(non_upper_case_globals)]
44
#![allow(non_camel_case_types)]
55
#![allow(non_snake_case)]
6+
7+
// Added to avoid clippy complaining about u128 types not being FFI safe
8+
// Caused by https://github.com/ros2/ros2/issues/1374 in iron and newer
9+
// See https://github.com/ros2-rust/ros2_rust/issues/320
610
#![allow(improper_ctypes)]
11+
712
#![allow(clippy::all)]
813
#![allow(missing_docs)]
914

0 commit comments

Comments
 (0)