Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (14 loc) · 1.25 KB

README.md

File metadata and controls

23 lines (14 loc) · 1.25 KB

This fork has been archived

This fork is no longer needed due to theseus-os/Theseus#524.

Please use the upstream x86_64 crate instead.

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.