Skip to content

Commit 1279ef2

Browse files
authored
Disable clippy warnings for u128 types (#322)
* Disable clippy warnings for u128 types * Added note about the rationale for improper_ctypes for clippy * Fix formatting
1 parent 50bf305 commit 1279ef2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rclrs/src/rcl_bindings.rs

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
#![allow(non_upper_case_globals)]
44
#![allow(non_camel_case_types)]
55
#![allow(non_snake_case)]
6+
// Added to avoid clippy complaining about u128 types not being FFI safe
7+
// Caused by https://github.com/ros2/ros2/issues/1374 in iron and newer
8+
// See https://github.com/ros2-rust/ros2_rust/issues/320
9+
#![allow(improper_ctypes)]
610
#![allow(clippy::all)]
711
#![allow(missing_docs)]
812

0 commit comments

Comments
 (0)