1
0
forked from ROMEO/nexosim
nexosim/nexosim/build.rs
Serge Barral b1a02bd07f Detect lost messages
Messages sent to a mailbox that wasn't added to the simulation are now
specifically detected. Earlier this would be wrongly reported as a
deadlock.
2024-11-18 18:56:23 +01:00

10 lines
266 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
#[cfg(nexosim_grpc_codegen)]
tonic_build::configure()
.build_client(false)
.out_dir("src/grpc/codegen/")
.compile_protos(&["simulation.proto"], &["src/grpc/api/"])?;
Ok(())
}