Expand description
Helpers for runtime target feature detection that are shared across architectures.
Macros§
- select_
once 🔒 - Call
init
once to choose an implementation, then use it for the rest of the program. - unique_
masks 🔒 - Given a list of identifiers, assign each one a unique sequential single-bit mask.
Structs§
- Flags
- Helper for working with bit flags, based on
bitflags
.
Functions§
- get_
or_ init_ flags_ cache - Load flags from an atomic value. If the flags have not yet been initialized, call
init
to do so.