prost icon indicating copy to clipboard operation
prost copied to clipboard

[Question] Build failed with protoc failed

Open MarvinCai opened this issue 4 years ago • 3 comments

Hi, I was trying to build a project with proto file w/ prost-build but I got error like thread 'main' panicked at 'calledResult::unwrap()on anErr value: Custom { kind: Other, error: "protoc failed: Missing value for flag: --include_source_info\n" }', build.rs:4:66 Couldn't find much info about this error on google so trying to see if I can get some help here. Should be using bundled protoc.

MarvinCai avatar Apr 10 '21 02:04 MarvinCai

I haven't encountered anything like this before. Could you make a minimal reproducing example, including .proto files, Cargo.toml, and build.rs?

danburkert avatar Apr 11 '21 18:04 danburkert

Hi, thanks for replying, I was cloning this repo and trying to build it: https://github.com/wyyerd/pulsar-rs

MarvinCai avatar Apr 12 '21 01:04 MarvinCai