HadrienG2 / hwlocality

Rust bindings to Open MPI Portable Hardware Locality "hwloc" library, covering version 2.0 and above.
MIT License
24 stars 6 forks source link

Ignore cast_possible_truncation lint from nightly clippy #127

Closed HadrienG2 closed 7 months ago

HadrienG2 commented 7 months ago

This lint fires on the cast of a constant which represents the number of bits of the "int" C type. We know that for any foreseeable time to come, this constant will fit into any integer type, even i8, so ignoring the lint is fine.

semanticdiff-com[bot] commented 7 months ago

Review changes with SemanticDiff.

Analyzed 1 of 1 files.

Filename Status
:heavy_check_mark: src/ffi/int.rs Analyzed
codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.90%. Comparing base (cd7f76a) to head (8ab0952).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #127 +/- ## ========================================== + Coverage 75.89% 75.90% +0.01% ========================================== Files 43 43 Lines 4998 4997 -1 ========================================== Hits 3793 3793 + Misses 1205 1204 -1 ``` | [Flag](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/127/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | Coverage Δ | | |---|---|---| | [ubuntu-latest](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/127/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | `74.70% <ø> (-0.12%)` | :arrow_down: | | [windows-latest](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/127/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | `74.11% <ø> (-0.05%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.