{"id":58326,"library":"cranelift-codegen","title":"Cranelift Codegen","description":"Low-level code generator library for just-in-time and ahead-of-time compilation.","status":"active","version":"0.132.0","language":"rust","source_language":null,"source_url":"https://github.com/bytecodealliance/wasmtime","tags":["compiler","jit","codegen"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ncranelift-codegen = \"0.132.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add cranelift-codegen","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Context","correct":"use cranelift_codegen::Context;"}],"quickstart":{"code":"use cranelift_codegen::Context;\nuse cranelift_codegen::ir::Function;\n\nfn main() {\n    let mut ctx = Context::new();\n    let func = Function::new();\n    ctx.func = func;\n    // ...\n}","lang":"rust","description":"Create a Cranelift compilation context."},"warnings":[],"env_vars":null,"search_vec":"'ahead':16 'ahead-of-tim':15 'code':6 'codegen':2,22 'compil':19,20 'cranelift':1 'generat':7 'jit':21 'just-in-tim':10 'level':5 'librari':8 'low':4 'low-level':3 'time':13,18","created_at":"2026-06-16T16:19:35.155361+00:00","updated_at":"2026-06-16T16:19:35.155361+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/bytecodealliance/wasmtime","github":"https://github.com/bytecodealliance/wasmtime","docs":"https://docs.rs/cranelift-codegen/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}