photoncloud-monorepo/fiberlb/crates/fiberlb-server/build.rs
centra ce4bab07d6
Some checks failed
Nix CI / filter (push) Failing after 1s
Nix CI / gate () (push) Has been skipped
Nix CI / gate (shared crates) (push) Has been skipped
Nix CI / build () (push) Has been skipped
Nix CI / ci-status (push) Failing after 1s
fiberlb: add native BGP speaker and VM smoke test
2026-03-30 16:13:14 +09:00

10 lines
329 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
let protoc_path = protoc_bin_vendored::protoc_bin_path()?;
std::env::set_var("PROTOC", protoc_path);
tonic_build::configure()
.build_server(false)
.build_client(true)
.compile_protos(&["proto/api/gobgp.proto"], &["proto"])?;
Ok(())
}