epi-project / brane

Programmable Orchestration of Applications and Networking
Apache License 2.0
9 stars 7 forks source link

Optional fields flag for `protoc` in custom `brane-tsk` build #33

Closed marinoandrea closed 1 year ago

marinoandrea commented 1 year ago

Describe the bug Running cargo-build errors out due to experimental optional proto3 fields. The error message is the following:

Error: Custom { kind: Other, error: "protoc failed: driver.proto: This file contains proto3 optional fields, but --experimental_allow_proto3_optional was not set.\n" }

To reproduce Simply clone the repo and run cargo-build on a stable-x86_64-unknown-linux-gnu Rust installation v1.66.1.

Expected behavior Should be able to build the project in a clean slate state.