113 releases

0.14.6 Sep 21, 2021
0.14.4 Jul 19, 2021
0.13.4 Mar 27, 2021
0.13.1 Dec 29, 2020
0.0.3 Dec 28, 2016

#7 in No standard library

Download history 2893/week @ 2021-06-23 3842/week @ 2021-06-30 4124/week @ 2021-07-07 3990/week @ 2021-07-14 3077/week @ 2021-07-21 5492/week @ 2021-07-28 7396/week @ 2021-08-04 7159/week @ 2021-08-11 4665/week @ 2021-08-18 6108/week @ 2021-08-25 5306/week @ 2021-09-01 6564/week @ 2021-09-08 6002/week @ 2021-09-15 4875/week @ 2021-09-22 5538/week @ 2021-09-29 4136/week @ 2021-10-06

21,938 downloads per month
Used in 42 crates (28 directly)

MIT/Apache

305KB
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

~95KB