Registry / build-tool / faerie

faerie

JSON →
library0.16.0rscratesunverified

An ELF and Mach-O native binary object file emitter.

# Cargo.toml [dependencies] faerie = "0.16.0"
INSTALL
IMPORT
SIG · FAERIE
F
faerie
build-toolrustv0.16.0
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.

Artifact
✓ use faerie::Artifact;

Creates a minimal ELF binary with a main function.

use faerie::Artifact; fn main() { let mut artifact = Artifact::new("example", faerie::Binary::Elf64); artifact.declare("main")?; artifact.define("main", vec![0x90, 0xc3])?; let bytes = artifact.emit()?; println!("Emitted {} bytes", bytes.len()); Ok::<(), Box<dyn std::error::Error>>(()) }
Debug
Known issues
breakingThe API is low-level and may change between versions.
fix
Pin to a specific version and refer to the documentation.
affects: <0.17.0
Upgrade
Version history
0.16.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
faerie — cargo add faerie · libregistry