Cargo Features
[dependencies]
x64 = { version = "0.16.2", default-features = false, features = ["instructions", "memory_encryption", "nightly", "abi_x86_interrupt", "asm_const", "step_trait", "doc_cfg", "const_fn", "doc_auto_cfg"] }
- default = instructions, nightly
-
These default features are set whenever
x64is added withoutsomewhere in the dependency tree.default-features = false - instructions default
-
Affects
debug::DebugAddressRegister.read,debug::DebugAddressRegister.write… - memory_encryption
-
Affects
structures::mem_encrypt… - nightly default = abi_x86_interrupt, asm_const, const_fn, step_trait
- abi_x86_interrupt nightly
-
Affects
idt::HandlerFunc,idt::HandlerFuncWithErrCode,idt::PageFaultHandlerFunc,idt::DivergingHandlerFunc,idt::DivergingHandlerFuncWithErrCode… - asm_const nightly
-
Affects
interrupts::software_interrupt… - step_trait nightly
- doc_cfg
- const_fn nightly
-
These are deprecated and no longer needed:
- doc_auto_cfg
Features from optional dependencies
This crate is a fork of rust-osdev/x86_64 with LA57 (5-level paging) support. Original: https://github.com/rust-osdev/x86_64 We are deeply grateful to Philipp Oppermann and all contributors for their foundational work on OS development in Rust.