diff --git a/socktop_connector/build.rs b/socktop_connector/build.rs index a4aa618..691a646 100644 --- a/socktop_connector/build.rs +++ b/socktop_connector/build.rs @@ -1,4 +1,10 @@ fn main() -> Result<(), Box> { + // Set the protoc binary path to use the vendored version for CI compatibility + // SAFETY: We're only setting PROTOC in a build script environment, which is safe + unsafe { + std::env::set_var("PROTOC", protoc_bin_vendored::protoc_bin_path()?); + } + prost_build::compile_protos(&["processes.proto"], &["."])?; Ok(()) }