Reviewed-on: #5 Co-authored-by: traffic95 <traffic95@xeondev.com> Co-committed-by: traffic95 <traffic95@xeondev.com>
12 lines
295 B
Rust
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");
|
|
}
|