diff --git a/rust/sglang-grpc/build.rs b/rust/sglang-grpc/build.rs index 8ecaeaa55..5ee1bb2d5 100644 --- a/rust/sglang-grpc/build.rs +++ b/rust/sglang-grpc/build.rs @@ -4,6 +4,7 @@ fn main() -> Result<(), Box> { tonic_build::configure() .build_server(true) .build_client(false) + .protoc_arg("--experimental_allow_proto3_optional") .file_descriptor_set_path( std::path::PathBuf::from(std::env::var("OUT_DIR").unwrap()) .join("sglang_descriptor.bin"),