Stream: cranelift

Topic: Use cranelift via C ABI


view this post on Zulip Kyren (Apr 06 2026 at 21:49):

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?

view this post on Zulip Chris Fallin (Apr 06 2026 at 21:56):

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