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 \