Registry / other / x86-64

x86-64

JSON →
library0.15.4rscratesunverified

Support for x86_64 specific instructions, registers, and structures for OS development.

# Cargo.toml [dependencies] x86_64 = "0.15.4"
INSTALL
IMPORT
SIG · X86-64
X
x86-64
otherrustv0.15.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Port
use x86_64::instructions::port::Port;

Minimal example reading from an I/O port using x86_64 crate.

use x86_64::instructions::port::Port; fn main() { // Example: reading from an I/O port (requires unsafe) unsafe { let mut port = Port::new(0x60); let value: u8 = port.read(); println!("Port value: {}", value); } }
Debug
Known issues
gotchaRequires nightly Rust and target-specific features for some functionality.
fix
Use nightly toolchain and enable appropriate target features (e.g., 'inline-asm').
affects: *
gotchaMost functions are unsafe and intended for OS/kernel development.
fix
Ensure you understand x86_64 architecture and safety requirements.
affects: *
Upgrade
Version history
0.15.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Amazon
1
Resources
x86-64 — cargo add x86-64 · libregistry