Thanks to visit codestin.com
Credit goes to lib.rs

#cubecl #llvm #mlir #bindings #api-bindings

tracel-llvm

Rust bindings for LLVM libraries used by CubeCL

6 releases

Uses new Rust 2024

new 20.1.4-6 Jan 13, 2026
20.1.4-5 Sep 25, 2025
20.1.4-4 Sep 24, 2025
20.1.4-2 Sep 23, 2025
20.1.4-1 Sep 19, 2025

#296 in Development tools

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

15,315 downloads per month
Used in 71 crates (via cubecl-cpu)

MIT/Apache

1MB
28K SLoC

Tracel LLVM

The purpose of this repository is to provide an interface to MLIR from Rust for the CubeCL backend and support only one version at a time that is bundled automatically at compilation.

Publish a new release

  1. Update the LLVM version and release number if file []().

  2. Creates the bindgins with cargo xtask bindgen and commit the new bindings to the repository.

  3. Dispatch the workflow Release manually.

  4. The workflow will create a new release named v{LLVM_TAG}-{RELEASE_NUMBER}.

Note: Currently the workflow does not build the MacOS archive. It must be built manually by executing cargo xtask bundle build at the root of the repository. It will create an archive at .llvm/macos-AArch64.tar.xz. Edit the GitHub release and upload this archive to it manually.

  1. Then trigger the workflow Publish to publish the crates on crates.io.

Third-Party Acknowledgments

This workspace incorporates code from the following external repositories. Each retains its original license and copyright notices, as detailed in the COPYRIGHT file:

Please refer to the COPYRIGHT file for full license texts and copyright information.

Dependencies

~16–38MB
~571K SLoC