Expand description
Build-time MIR analysis for hydroplane #[kernel]s. A downstream crate’s build.rs calls
build_script, which runs the nightly StableMIR driver over a nested build, writes one
metrics line per kernel, and points HYDRO_ANALYSIS at it for the macro’s analysis lookups.
Modules§
- analysis
- Turns per-kernel MIR metrics into codegen choices at macro expansion, looking kernels up by
name in the file
HYDRO_ANALYSISpoints at (absent on ordinary builds, so lookups miss and the macro keeps its defaults). All thresholds live here; the driver only measures.
Functions§
- build_
script - Call from a downstream crate’s
build.rs(fn main() { hydroplane_auto::build_script(); }).