This change adds a cfg attribute 'cpp_lite' to the C++ kernel of Protobuf Rust. If C++ lite is selected on the command line, the cfg attribute 'cpp_lite' is set. The root cause of the test failure was that the Debug implementation for full C++ protos uses text proto which is not available in C++ lite. The fix uses the 'cpp_lite' cfg attribute to select a different Debug implementation that doesn't rely on text proto PiperOrigin-RevId: 640552701pull/17018/head
parent
e207f27a35
commit
ec61d65a23
4 changed files with 26 additions and 0 deletions
Loading…
Reference in new issue