From 1bb993ee31a4be56e07d67c2800ed645b1c65bc4 Mon Sep 17 00:00:00 2001 From: kbullinger Date: Thu, 3 Oct 2024 13:15:55 -0400 Subject: [PATCH] add rust_opt items to protoc invocation --- protobuf/regenerate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf/regenerate.sh b/protobuf/regenerate.sh index 4987e8eee..4da70c1b0 100755 --- a/protobuf/regenerate.sh +++ b/protobuf/regenerate.sh @@ -34,7 +34,7 @@ esac "$PROTOC" \ --plugin=protoc-gen-rust="$where_am_i/target/debug/protoc-gen-rust$exe_suffix" \ --rust_out tmp-generated \ - --rust_opt 'inside_protobuf=true gen_mod_rs=false' \ + --rust_opt 'inside_protobuf=true,gen_mod_rs=false,experimental-codegen=enabled,kernel=cpp' \ -I../proto \ ../proto/google/protobuf/*.proto \ ../proto/google/protobuf/compiler/*.proto \