Expand description
Build-time helpers for compiling ISLE DSL files to Rust code.
This crate provides utilities for Cargo build scripts to compile
ISLE (Instruction Selection Lowering Expressions) domain-specific language
files into Rust code. It uses the cranelift-isle compiler internally.
§Example
In your Cargo.toml:
[dependencies]
intarsia = "0.1"
[build-dependencies]
intarsia-build = "*"In your build.rs:
fn main() {
intarsia_build::compile_isle_auto().unwrap();
}Functions§
- compile_
isle_ auto - Automatically discover and compile ISLE files in a conventional location.
- compile_
isle_ dir - Compile all ISLE files in a specified directory.
- compile_
isle_ file - Compile a single ISLE file to Rust code.
- compile_
isle_ files - Compile multiple specific ISLE files.