#amd64 #x86 #x86-64 #no-std

no-std x86_64

Support for x86_64 specific instructions, registers, and structures

107 releases

new 0.14.1-beta Apr 30, 2021
0.13.6 Apr 11, 2021
0.13.4 Mar 27, 2021
0.13.1 Dec 29, 2020
0.0.3 Dec 28, 2016

#15 in No standard library

Download history 5224/week @ 2021-01-14 5559/week @ 2021-01-21 6072/week @ 2021-01-28 3489/week @ 2021-02-04 2939/week @ 2021-02-11 3200/week @ 2021-02-18 3546/week @ 2021-02-25 3071/week @ 2021-03-04 3260/week @ 2021-03-11 4785/week @ 2021-03-18 4062/week @ 2021-03-25 3287/week @ 2021-04-01 4480/week @ 2021-04-08 3112/week @ 2021-04-15 3712/week @ 2021-04-22 2818/week @ 2021-04-29

15,778 downloads per month
Used in 32 crates (22 directly)

MIT/Apache

270KB
5K 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

~88KB