forked from ROMEO/nexosim

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.
10 lines
266 B
Rust
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(())
|
|
}
|