wide-midnight-78598
11/28/2023, 3:20 AMthread 'main' panicked at /Users/sj/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-build-0.12.3/src/lib.rs:1521:10:
Could not find `protoc` installation and this build crate cannot proceed without
this knowledge. If `protoc` is installed and this crate had trouble finding
it, you can set the `PROTOC` environment variable with the specific path to your
installed `protoc` binary.You could try running `brew install protobuf` or downloading it from <https://github.com/protocolbuffers/protobuf/releases>wide-midnight-78598
11/28/2023, 3:21 AMbroad-processor-92400
11/28/2023, 5:05 AMwide-midnight-78598
11/28/2023, 6:26 AMfast-nail-55400
11/28/2023, 6:59 AMHas protoc always been a dep? I just built from main, and I got this for the first time. I don’t know if I’ve just always had a protoc in the path otherwiseYes. It is just that the
prost crate authors decided to stop supplying the protoc binary in the crate due to software supply chain concerns.gorgeous-winter-99296
11/28/2023, 10:12 AMgorgeous-winter-99296
11/28/2023, 10:16 AMfast-nail-55400
11/28/2023, 2:32 PMprost just had its own .proto parser to generate proto descriptors instead of relying on protoc to generate those descriptors. otherwise the code generation part doesn't depend on protoc , just the parsing of the files to get the descriptors (with the descriptors used for codegen)wide-midnight-78598
11/28/2023, 9:27 PMbroad-processor-92400
11/29/2023, 12:14 AM