p9cpu/crates/libp9cpu/build.rs
Changyuan Lyu ce99fe8286 p9cpu: Defines a transport-layer client trait
`ClientInnerT` is a generic transport layer client. It can be either
an SSH client or a gRPC client. Basically it enables us to start a
process on a remote machine and forward stdin/stdout/stderr.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2023-05-26 16:10:07 -07:00

11 lines
299 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut config = prost_build::Config::new();
config.protoc_arg("--experimental_allow_proto3_optional");
tonic_build::configure().compile_with_config(
config,
&["src/cmd.proto"],
&["src"],
)?;
Ok(())
}