Hey, I ma writing my own compiler, not written in Rust and I wanted to use cranelift, does it have any C ABI I could use to dynamically link it to my project?
Unfortunately no. This is something we might be interested in taking PRs for, though -- the equivalent of the c-api crate for Wasmtime, but for cranelift-codegen + cranelift-frontend. It would be a nontrivial amount of work, though
Last updated: Apr 13 2026 at 00:25 UTC