mlir-sys

GitHub Action Crate License

Rust bindings to the MLIR C API.

Install

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

License

MIT