pub fn protoc() -> PathBufExpand description
Returns the path to protoc.
Looks for protoc in the following places:
- Bootstraps
protocvia protobuf-src, if default features are enabled. PROTOCenvironment variable, if it’s set.- The system’s
$PATH, viawhich.
If protoc can’t be found then this function will panic.