114 releases

0.14.7 Dec 18, 2021
0.14.6 Sep 21, 2021
0.14.4 Jul 19, 2021
0.13.4 Mar 27, 2021
0.0.3 Dec 28, 2016

#7 in Hardware support

Download history 5582/week @ 2021-09-26 4980/week @ 2021-10-03 5156/week @ 2021-10-10 7821/week @ 2021-10-17 6168/week @ 2021-10-24 4556/week @ 2021-10-31 3945/week @ 2021-11-07 2623/week @ 2021-11-14 4574/week @ 2021-11-21 3814/week @ 2021-11-28 5213/week @ 2021-12-05 5212/week @ 2021-12-12 4094/week @ 2021-12-19 2576/week @ 2021-12-26 4013/week @ 2022-01-02 3608/week @ 2022-01-09

14,864 downloads per month
Used in 47 crates (33 directly)

MIT/Apache

320KB
6K SLoC

x86_64 library

Crates.io Build Status docs.rs

Support for x86_64 specific instructions (e.g. TLB flush), registers (e.g. control registers), and structures (e.g. page tables).

Crate Feature Flags

  • 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. Needs default-features = false, features = ["instructions"]. Is unsupported on Windows.

Building with stable rust

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.

Dependencies