trigger-rs/crates/trigger-fileconfig/build.rs
2025-03-18 21:24:52 +01:00

12 lines
295 B
Rust

use std::path::Path;
fn main() {
println!("cargo:rerun-if-changed=fbs");
flatc_rust::run(flatc_rust::Args {
inputs: &[Path::new("fbs/tables.fbs")],
out_dir: Path::new("gen_flatbuffers"),
..Default::default()
})
.expect("Couldn't compile tables.fbs");
}