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

no-std x86_64

Support for x86_64 specific instructions, registers, and structures

111 releases

0.14.4 Jul 19, 2021
0.14.1-beta Apr 30, 2021
0.13.4 Mar 27, 2021
0.13.1 Dec 29, 2020
0.0.3 Dec 28, 2016

#11 in No standard library

Download history 4480/week @ 2021-04-08 3112/week @ 2021-04-15 3712/week @ 2021-04-22 3232/week @ 2021-04-29 3456/week @ 2021-05-06 4388/week @ 2021-05-13 3827/week @ 2021-05-20 3490/week @ 2021-05-27 3056/week @ 2021-06-03 3518/week @ 2021-06-10 2537/week @ 2021-06-17 3106/week @ 2021-06-24 3965/week @ 2021-07-01 4107/week @ 2021-07-08 3748/week @ 2021-07-15 3308/week @ 2021-07-22

15,059 downloads per month
Used in 37 crates (23 directly)

MIT/Apache

290KB
5.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