| Crates.io | mlir-sys |
| lib.rs | mlir-sys |
| version | 210.0.0 |
| created_at | 2021-11-16 16:15:35.041032+00 |
| updated_at | 2025-09-16 15:20:54.558984+00 |
| description | Rust bindings to the MLIR C API. |
| homepage | |
| repository | https://github.com/mlir-rs/mlir-sys |
| max_upload_size | |
| id | 482833 |
| size | 21,878 |
Rust bindings to the MLIR C API.
Starting with LLVM 21, this crate follows a versioning scheme similar to llvm-sys. The crate version is the LLVM version multiplied by 10 with a patch version:
mlir-sys 210.0.x is compatible with LLVM/MLIR 21.0.xcargo add mlir-sys
This crate searches an llvm-config command on build and uses it to determine build configurations related to LLVM and MLIR. You can also use a MLIR_SYS_210_PREFIX environment variable to specify a custom directory of LLVM installation.