Registry / other / inkwell

inkwell

JSON →
library0.9.0rscratesunverified

Safe wrapper around LLVM's C API (llvm-sys) for building compilers and language tooling.

# Cargo.toml [dependencies] inkwell = "0.9.0"
INSTALL
IMPORT
SIG · INKWELL
I
inkwell
otherrustv0.9.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.

Context
use inkwell::context::Context;

Creates an LLVM context and module.

use inkwell::context::Context; let context = Context::create(); let module = context.create_module("my_module"); println!("Module created: {}", module.get_name().to_str().unwrap());
Debug
Known issues
gotchaRequires LLVM libraries installed on the system (e.g., llvm-config).
fix
Install LLVM via your package manager or set LLVM_SYS_<version>_PREFIX.
affects: >=0.9.0
Upgrade
Version history
0.9.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
inkwell — cargo add inkwell · libregistry