Skip to content
Snippets Groups Projects
Commit 66c33753 authored by Kamal Marhubi's avatar Kamal Marhubi
Browse files

Make cfg_if uses more explicit and consistent

This commit changes most uses of cfg_if as follows:
- fallthrough `else` usage is avoided for architecture or OS specific
  items
- a comment is added in the final `else` clause to signal intent someone
  modifying

It is safer to omit items than include ones for the wrong platform or
architecture.
parent 61ae4865
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment