Function hlt

Source
pub unsafe fn hlt()
Expand description

Perform one x86 hlt instruction.

§Safety

Intrinsics are inherently unsafe — this is just a less ugly way of writing inline assembly.

Also…this halts the CPU.