Expand description
Hints to compiler that affects how code should be emitted or optimized.
Hints may be compile time or runtime.
Functions§
- assert_
unchecked ⚠ - Makes a soundness promise to the compiler that
condholds. - select_
unpredictable - Returns either
true_valorfalse_valdepending on the value ofcondition, with a hint to the compiler thatconditionis unlikely to be correctly predicted by a CPU’s branch predictor. - unreachable_
unchecked ⚠ - Informs the compiler that the site which is calling this function is not reachable, possibly enabling further optimizations.