Skip to content

Commit

Permalink
add rust_opt items to protoc invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
kristopherbullinger committed Oct 3, 2024
1 parent 7919ee0 commit 1bb993e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protobuf/regenerate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 1bb993e

Please sign in to comment.