Registry / other / alexcrichton-cranelift-codegen

alexcrichton-cranelift-codegen

JSON →
library0.53.0rscratesunverified

Low-level code generator library for generating machine code.

# Cargo.toml [dependencies] alexcrichton-cranelift-codegen = "0.53.0"
INSTALL
IMPORT
SIG · ALEXCRICHTON-CRANE
A
alexcrichton-cranelift-codegen
otherrustv0.53.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;

Initialize a code generation context.

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

No known issues recorded.

Upgrade
Version history
0.53.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
34
Meta
2
OpenAI (training)
1
Resources
alexcrichton-cranelift-codegen — cargo add alexcrichton-cranelift-codegen · libregistry