Registry / other / cranelift-codegen

cranelift-codegen

JSON →
library0.132.0rscratesunverified

Low-level code generator library for just-in-time and ahead-of-time compilation.

# Cargo.toml [dependencies] cranelift-codegen = "0.132.0"
INSTALL
IMPORT
SIG · CRANELIFT-CODEGEN
C
cranelift-codegen
otherrustv0.132.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 cranelift_codegen::Context;

Create a Cranelift compilation context.

use cranelift_codegen::Context; use cranelift_codegen::ir::Function; fn main() { let mut ctx = Context::new(); let func = Function::new(); ctx.func = func; // ... }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.132.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Meta
1
Amazon
1
Resources
cranelift-codegen — cargo add cranelift-codegen · libregistry