Support for x86_64 specific instructions (e.g. TLB flush), registers (e.g. control registers), and structures (e.g. page tables).
nightly
: Enables features only available on nightly Rust; enabled by default.instructions
: Enabled by default, turns on x86_64 specific instructions, and dependent features. Only available for x86_64 targets.external_asm
: Use this to build with non-nightly rust. Needsdefault-features = false, features = ["instructions"]
. Is unsupported on Windows.
This needs to have the compile-time requirements of the cc
crate installed on your system.
It was currently only tested on Linux and MacOS.