#mlir #llvm #mlir-sys

sys mlir-sys

Rust bindings to the MLIR C API

13 unstable releases (4 breaking)

Uses new Rust 2024

0.5.0 Apr 1, 2025
0.4.2 Feb 8, 2025
0.4.1 Dec 7, 2024
0.3.0 Sep 24, 2024
0.1.0 Nov 16, 2021

#278 in Compression

Download history 1633/week @ 2025-01-26 3146/week @ 2025-02-02 1840/week @ 2025-02-09 2624/week @ 2025-02-16 4158/week @ 2025-02-23 3035/week @ 2025-03-02 2310/week @ 2025-03-09 2128/week @ 2025-03-16 2275/week @ 2025-03-23 2574/week @ 2025-03-30 2124/week @ 2025-04-06 2503/week @ 2025-04-13 4999/week @ 2025-04-20 5443/week @ 2025-04-27 4774/week @ 2025-05-04 4616/week @ 2025-05-11

19,953 downloads per month
Used in 5 crates (3 directly)

Custom license

8KB
159 lines

mlir-sys

GitHub Action Crate License

Rust bindings to the MLIR C API.

Install

cargo 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_190_PREFIX environment variable to specify a custom directory of LLVM installation.

License

MIT

Dependencies

~0–2MB
~38K SLoC