diff --git a/protobuf-codegen/src/codegen/mod.rs b/protobuf-codegen/src/codegen/mod.rs index 3b8f629c3..2e6406cdc 100644 --- a/protobuf-codegen/src/codegen/mod.rs +++ b/protobuf-codegen/src/codegen/mod.rs @@ -243,6 +243,7 @@ impl Codegen { parser.inputs(&self.inputs); parser.includes(&self.includes); + parser.protoc_extra_args(&self.protoc_extra_args); if self.capture_stderr { parser.capture_stderr();