HadrienG2 / hwlocality

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

Turns out doc(cfg()) is not the valid way to hide cfg from docs #118

Closed HadrienG2 closed 6 months ago

HadrienG2 commented 6 months ago

Instead, according to https://github.com/rust-lang/rust/pull/89596, you need an extra all() to achieve this result.

semanticdiff-com[bot] commented 6 months ago

Review changes with SemanticDiff.

Analyzed 1 of 2 files.

Filename Status
:grey_question: Cargo.toml Unsupported file format
:heavy_check_mark: src/lib.rs Analyzed
codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 73.07%. Comparing base (5ebea4f) to head (ef0fdd0).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #118 +/- ## ========================================== - Coverage 73.09% 73.07% -0.03% ========================================== Files 43 43 Lines 4988 4988 ========================================== - Hits 3646 3645 -1 - Misses 1342 1343 +1 ``` | [Flag](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/118/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/118/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | `72.78% <ø> (ø)` | | | [windows-latest](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/118/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | `71.51% <ø> (-0.07%)` | :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.