Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable clippy warnings for u128 types #322

Merged
merged 3 commits into from
Jul 15, 2023
Merged

Disable clippy warnings for u128 types #322

merged 3 commits into from
Jul 15, 2023

Conversation

esteve
Copy link
Collaborator

@esteve esteve commented Jul 13, 2023

Fixes #320

@@ -3,6 +3,7 @@
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(improper_ctypes)]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might be a good idea to separate this not allow from the rest of the blocks and add a comment referencing that its coming from ROS 2's new runtime reflection feature in Iron and Rolling. I can see this list getting quite long and goofy over time

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 80bb0ac

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to fix the formatting because rustfmt was complaining.

@esteve esteve requested a review from maspe36 July 14, 2023 11:44
@esteve esteve merged commit 1279ef2 into main Jul 15, 2023
@delete-merged-branch delete-merged-branch bot deleted the clippy-ffi-warning branch July 15, 2023 08:26
@esteve
Copy link
Collaborator Author

esteve commented Jul 15, 2023

@maspe36 thank you so much for the review 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

extern block uses type u128, which is not FFI-safe
2 participants