#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

#263 in Compression

Download history 4450/week @ 2025-01-08 1982/week @ 2025-01-15 1774/week @ 2025-01-22 1865/week @ 2025-01-29 3020/week @ 2025-02-05 2187/week @ 2025-02-12 2828/week @ 2025-02-19 4285/week @ 2025-02-26 2674/week @ 2025-03-05 2386/week @ 2025-03-12 1502/week @ 2025-03-19 3116/week @ 2025-03-26 2013/week @ 2025-04-02 1910/week @ 2025-04-09 3965/week @ 2025-04-16 5523/week @ 2025-04-23

14,035 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